Scrolling Tiles
Here you have a demonstration of how you might go about scrolling a tiled interface. Each tile is its own movieclip which only remains in the viewing area so long as some of it is visible. Not keeping all tiles on the screen at one time can help with performance. All tiles are scrolled while the character in the middle remains imobile (though technically "moves" as the ground or tiles beneath him move).
The tiles are arranged based on an external text file which is loaded into the movie and interpreted into tiles/positions on the fly. This information is kept in a file with a .map extension, though it is simply a text file that can be edited in any basic text editor.
advertisement