Hello Guest

Author Topic: Dynamic TileMap generation  (Read 3161 times)

pangyan

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Dynamic TileMap generation
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Dynamic TileMap generation
« Reply #1 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.