Jump to content
Mike at BrashMonkey

Using Spriter animations in Construct 2

Recommended Posts

On 8/20/2018 at 8:51 AM, sagispin said:

 

Hey, were you able to fix it using multiple spritesheets? i have the same issue, having huge spriter file

No, and we cant say when or if multiple sprite sheets will be possible, you'll need to use the other mode as opposed to draw self. The good news is if multiple sprite sheets ever become possible, it will be very little work for you to switch over.

Share this post


Link to post
Share on other sites

Hello, Mike!

When you transfer scml, objects get collision masks "Guess polygon shape". Is there any way to make the default masks "Bounding box"? Maybe something to change in the plugin?

When I transfer a scon, they can not even be edited ...

Share this post


Link to post
Share on other sites

lucid, thanks for the reply, it's reassuring!

I am now considering all possible ways of optimization. "Bounding box" is checked by the program in another way, unlike "Guess polygon shape" - to check this mask, a cycle is started for each point. The selection option can be useful.

Also, if I understand correctly, it makes sense to disable collision masks for import through scon and spritessheets.

Share this post


Link to post
Share on other sites

Hi Spriter guys,

I have encountered an issue with the Construct2 plugin, version "1/7/2018", wherein the action "Set C2 object to Spriter object" would only work for one instance of each in a given layout.
Meaning, if you have one Spriter object with an action point, to which you want to pin a single C2 object, it works well.
But if you have multiple instances of either, no amount of 'pick' conditions will enable attaching a particular instance of a C2 object, to a particular instance of the Spriter object: C2 will attach one C2 object to the last Spriter instance and ignore the others.

As I understand it, the crux of the problem, is that plugin will search for a C2 'object type' not an instance to attach.

I have attached the C2 runtime file, with the workaround as implemented by our game developer.

Hopefully you can work a fix of your own for this into the next version of the plugin.

 

Thanks.

runtime.js

Share this post


Link to post
Share on other sites
On 11/13/2018 at 3:19 PM, inkbug said:

Hi Spriter guys,

I have encountered an issue with the Construct2 plugin, version "1/7/2018", wherein the action "Set C2 object to Spriter object" would only work for one instance of each in a given layout.
Meaning, if you have one Spriter object with an action point, to which you want to pin a single C2 object, it works well.
But if you have multiple instances of either, no amount of 'pick' conditions will enable attaching a particular instance of a C2 object, to a particular instance of the Spriter object: C2 will attach one C2 object to the last Spriter instance and ignore the others.

As I understand it, the crux of the problem, is that plugin will search for a C2 'object type' not an instance to attach.

I have attached the C2 runtime file, with the workaround as implemented by our game developer.

Hopefully you can work a fix of your own for this into the next version of the plugin.

 

Thanks.

runtime.js

Thanks for reporting this. We'll look into it. Would you mind emailing us your actual construct project so we can see the events in question? ( mail@brashmonkey.com )

Share this post


Link to post
Share on other sites
20 hours ago, Mike at BrashMonkey said:

Thanks for reporting this. We'll look into it. Would you mind emailing us your actual construct project so we can see the events in question? ( mail@brashmonkey.com )

Hi @Mike at BrashMonkey,

Thanks for replying - I understand things have been hectic with putting out Spriter 2.

I'm afraid that after some time with no reply on this forum, I posted this issue on the Scirra Spriter-plugin topic, where it was resolved by @lucid.

I believe the current version of the plugin already contains the fixes in question.

Thanks again, and good luck with Spriter 2 - I look forward to seeing it in action.

Share this post


Link to post
Share on other sites
3 hours ago, inkbug said:

Hi @Mike at BrashMonkey,

Thanks for replying - I understand things have been hectic with putting out Spriter 2.

I'm afraid that after some time with no reply on this forum, I posted this issue on the Scirra Spriter-plugin topic, where it was resolved by @lucid.

I believe the current version of the plugin already contains the fixes in question.

Thanks again, and good luck with Spriter 2 - I look forward to seeing it in action.

Yes, I'd been discussing it with Edgar. I'm glad he was able to resolve the issue. Best of luck with your projects. cheers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×