Game Development Community

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

#1
05/02/2006 (10:21 pm)
Matt..
It should be like this.
$tileMap = new t2dTileMap() { scenegraph = t2dscene; };
$tileMap.loadTileMap("yourProject/data/tilemaps/lev1.map");


hope that helps
#2
05/04/2006 (12:25 pm)
Ah, so nothing directly in the level builder. That's what I meant to ask.
#3
05/04/2006 (1:18 pm)
No, nothing directly in the level builder (yet). Guessing in the next release we'll see tilemap support in the level builder.