Jump to content

Genereate Dynamic Tile Maps


Ardobras
 Share

Recommended Posts

Dear All,

 

I have some issues getting my head around the whole tilemap system. I found a lot of tutorials about it online but there is one big difference between what I want and what the tutorials show: I calculate a set of 400 tiles each time the user scrolls (I have basically an infinite map). So I have no clue how to add the 400 tiles (the array looks as required: data = [0,0,0, ..... ,1,0] which each represents the position of the required tile in the tileset). 

 

How can I add 3 or 4 different tiles in an 20x20 area kinda efficient?

 

If you need any more information, please let me know :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...