Jump to content
mathetis

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

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.

×