# \[AS3\] Multiple Blit on Stage Without Slowdown?

**URL:** <https://forum.kirupa.com/t/as3-multiple-blit-on-stage-without-slowdown/330206>\
**Category:** flash\
**Created:** [December 13, 2012, 8:15pm UTC](https://forum.kirupa.com/t/as3-multiple-blit-on-stage-without-slowdown/330206 "2012-12-13T20:15:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scheisse](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Post date:** [December 13, 2012, 8:15pm UTC](https://forum.kirupa.com/t/as3-multiple-blit-on-stage-without-slowdown/330206/1 "2012-12-13T20:15:26Z")

</div>

Hello kirupa!

I am using the following code to place characters on the screen using Blitting:

```auto

                    var rec:Rectangle = new Rectangle(X, Y, width_sprite, height_sprite);
                    var pt1:Point = new Point(0,0);
                    var bmd:BitmapData = new BitmapData(width_sprite,height_sprite);
                        
                    bmd.copyPixels(spritesheet01,rec,pt1);
                 
                    blit.bitmapData = bmd;

```

Everything works as it is intended to. The problem is, each character is a 300 x 300 bitmap and the game lags after I place about 6 of them on the stage at a time (while having a nice background, foreground, etc). I was hoping to get a lot more mileage out of this process in AS3.

Is there anything that I am doing wrong or that a way to improve this process so that I can have about 10 times as many characters on stage? Is it just the size/quality of the images that are the problem?

I have noticed that games like “Age of War 3” have a very large number of characters on screen at any given time. [[http://www.ageofwar123.com/age-of-war-3.html](http://www.ageofwar123.com/age-of-war-3.html) ] I had something like this in mind in terms of number of characters on stage.
