Quote:
Originally Posted by thawfeek_yahya
yes. use a for loop to go through all you dirt tiles then draw a bitmap
ex)
var Bdata:BitmapData = new BitmapData(stage.stageWidth,stage.stageHeight,true ,0xffffffff);
var bitmap:Bitmap = new Bitmap(Bdata)
for(var i:uint =0i<dirts.length;i++) {
var dirt:MovieClip = dirts[i];
Bdata.draw(dirt)
}
|
How do i choose where on the bitmap the tile is saved to? they are all being copied to 0,0, rather than where they were on the screen.