[Flash8]scrollrect Scroller
Here is my example of scrolling tiles:
http://img387.imageshack.us/my.php?image=tiles7zh.swf
well, the imageshack scales the swf so you better download it and run it at 100% on your computer to see real speed :)
Fla is attached.
The way it works:
*there is tileset image in the library (1 gif with all tiles on it)
*random tiles are then chosen from there and drawn on myBmp bitmapData
*myBmp is 640x640 px
*tiles mc is created and 400x300 px scrollRect applied to it
*bitmap is drawn into tiles.bmp mc
*tiles.bmp mc is scrolled
fps is set to 32 in Flash
This uses same engine, but has 3 layers and dropshadow applied to 2 top layers:
http://img396.imageshack.us/my.php?image=tiles17uo.swf
/*originally posted by tonypa,moved to its own thread by tomsamson*/