How to load a Tilemap into TGB
by Matt Van Gorkom · in Torque Game Builder · 04/28/2006 (1:05 pm) · 3 replies
I have made a tilemap. Using TGB how do I load it in so I can place it? On a side note, what should the tilemap file name end with? *.t2d? *.map?
- Matt
- Matt
Torque Owner Steve George
It should be like this.
$tileMap = new t2dTileMap() { scenegraph = t2dscene; };
$tileMap.loadTileMap("yourProject/data/tilemaps/lev1.map");
hope that helps