[AS3] Bitmap Draw Strategy


I’m making a game where it involves a player moving around a big map. A camera will follow the player around, and reveal only a small section of the map (think RTS).

I’m planning to add the player, enemies, items, background, etc into one Sprite object, and do collision checks within the Sprite (with HitTest). This Sprite object will not be drawn to the stage. Then, I will use BitmapData to copyPixels the part of the Sprite that the camera focuses on. This bitmap will be drawn on the stage.

Is this an efficient way of drawing part of a big map unto the screen?