How to rotate BitmapData? + other question
Hey guys, I am trying to integrate my game engine with Box2D and also trying to use BitmapData for all of the rendering to increase speed however I haven't used it much and am having trouble figuring out how to get something to rotate...
I have all of my objects stored in BitMap data objects and I call render on each of them and then copyPixels over to the main BitmapData object which is shown on screen.
Also I was wondering how you could draw all of a Sprite / Movieclip object with BitmapData.draw() if the Sprite placed so that the origin is in the center...in other words when I draw from a sprite that is w:50,h:50 and it's x,y is at -25,-25 it only draws the positive part that shows up. Any way to fix this?
Thanks