Jump to content

Total bounding area?

Recommended Posts

Hey, is there a straightforward way to find the total maximum bounding area of an animation? Or all animations for a sprite instance? Or does it require iterating over all SpriteObjects using GetBoundingBox and building out the extents?

I managed to find this down in the forums:  

I assume the answer is still a manual calculation.

Share this post

Link to post
Share on other sites

Hi mathetis,

This feature allows you to manually or automatically set bounding boxes that are then saved in the scml file data:

The data will look something like:
<animation id="0" name="idle" length="4000" interval="100" l="-131" t="-239" r="126" b="72">
The letters stand for left, top, right, and bottom.

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.

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...