I'm making a scrolling game with simple images, non tile based. I'm having trouble with the game slowing down at different points. I've tried two approaches
1) having each graphic be it's own Sprite and when it hits the end of the screen, make it available to be used again for the next graphic. This works ok.
2) draw all of the graphics onto one Sprite and scroll that sprite. This has obviously problems as very soon this Sprite is very large and begins to slow down.
What I'm wondering is if there is anywhere to use Bitmap.draw to make it so Flash only has to worry about drawing what is visible on the screen. Can anyone tell me if this is possible and point me in the right direction? Thanks!




Reply With Quote