Example of scrolling tile map (using Tile Studio)

BlitzMax Forums/BlitzMax Tutorials/Example of scrolling tile map (using Tile Studio)

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

The following example shows a very easy way to set up scrolling layers using Tile Studio ( http://tilestudio.sourceforge.net/ ).

http://tilestudio.sourceforge.net/tilemap.zip

Note: you can't compile Demo.bmx right away, first you need to load Demo.tsp into Tile Studio and press F10 (generate code), that will generate the missing .bmx and .png files.

This module supports transparent layers, animated tiles, overlapping tiles (set the overlap value in Tile Studio) and handles scaling. All maps and tiles are included into the executable.

If you make your own maps in Tile Studio, be sure to set BMXPNG.tsd as your exporter. To create animated tiles, see the Tutorial at http://tilestudio.sourceforge.net/tutor.html (Animation).