currently have flash as3 game doesn't use bitmapdata
techniques. however, due performance reasons, i'd implement it.
i cannot find single comprehensive tutorial using bitmap
, bitmapdata
classes game.
essentially have world
class acts game "world" container holds game objects (players, items, etc). within world
enter_frame
event ticks each object:
private function framehandler(e:event):void { if (!ispaused) { (i = 0; < characters.length; ++) { characters[i].tick(); } (i = 0; < controllers.length; ++) { controllers[i].tick(); } //etc... } }
how can implement bitmapdata
system?
edit
currently of world objects using highly detailed vector graphics cause performance suffer when there many on stage. why i'm turning bitmaps.
Comments
Post a Comment