2D Toolkit Forum

2D Toolkit => Support => Topic started by: pangyan on January 15, 2014, 08:12:42 am

Title: Dynamic TileMap generation
Post by: pangyan on January 15, 2014, 08:12:42 am
Right now if I want to dynamically populate a TileMap during runtime, I have to do the following steps:

1) Create an empty TileMap with the largest conceivable size I will be using.
2) Create as many empty layers as I need in this empty TileMap.
3) Create other empty TileMaps if layers use different Tilesets. In other words create a new TileMap for each Tileset I am using.

Is this correct?
Title: Re: Dynamic TileMap generation
Post by: unikronsoftware on January 15, 2014, 10:47:12 am
Thats it pretty much.
We're planning a little shortcut to create a tile map at runtime, but for now this will work fine and won't cause any major issues.