the official as3isolib blog

actionscript3 isometric library (v1/v2)

Understanding iso dimensions and sprites

Many folks have asked how does one size up a sprite assets with the abstract size of the wrapping IsoSprite.  This is a super easy concept not easily explained in words.  So let the following images explain it for you.  Please pardon the crude drawings 🙂

Assume this is a graphical asset created in a bitmap/vector editing program.

assume you wanted to use an IsoSprite that was 50x30x25.   This shows how to prepare your graphical assets for use in a containing IsoSprite.

Now you can see the overlay of how the graphical asset measures up to the containing IsoSprite.  The size for the IsoSprite is abstract and so things like the shadow of the table can reside outside of the iso bounds and not get calculated in the sorting algorithms.

I hope this clears things up for some of you out there.  Let me know if you have further questions either here or on the users’ forum.

Advertisements

3 responses to “Understanding iso dimensions and sprites

  1. amanda1982 October 8, 2010 at 5:14 am

    very instresting!!!

  2. sangwook September 5, 2011 at 11:23 am

    how to solve the depth problem?

    i have used DefaultSceneLayouRenderer, but it did’t work.

    please help me

    my source is here: smilejsu.tistory.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: