Jump to content
Sign in to follow this  
Ace

Get the size of the bounding box per frame?

Recommended Posts

Does this export with the SCML file somewhere?

Basically, do you save the exact width and height each frame takes up (with rotation, scaling, etc.) and the maximum width and height the entire animation takes up (also with rotation, scaling, etc.) in the SCML file?

I need these numbers to precisely position graphics, collisions, etc. in the game world and to create a generic bounding box I can use for the entire image, but I don't know if these two things are possible to find out.

Share this post


Link to post
Share on other sites

I'm planning on writing a plugin at some point for Spriter still, but I'd have to have this information exported to the SCML file at least in order to do it properly.

Hopefully it's a priority. Would help speed things up at runtime if this were precalculated upon saving the file in Spriter.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...