the official as3isolib blog

actionscript3 isometric library (v1/v2)

progress towards blitting

Late last night I made some advances towards making it possible to develop a blitting engine.   Previously I was unable to access the graphical data for a given IIsoDisplayObject because I wasn’t sure how to access the data that resides in the negative quadrants (where a pixel might be -x|y, -x|-y, or x|-y).  The solution was to use the matrix property combined with the screen bounds of the IIsoDisplayObject.

So now that that major hurdle has been overcome, its just few more small steps to creating an ISceneRenderer that will iterate through a scene’s children, ordering them based on how they would normally appear using a DefaultSceneRenderer, then grabbing their bitmap data and layering onto a target BitmapData object before returning that object to be added to the display list.  I will keep you posted on this as it progresses.

Advertisements

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: