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).
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).