actionscript3 isometric library (v1/v2)
progress towards blitting
December 11, 2008Posted by on
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.