Jump to content

general questions, JSON and Tiled map editor


Recommended Posts

Hello all,


I can see that when is set the "map.setCollision" value it should come from the data area from the JSON map I built in the Tiled map editor, but what I don't understand is what the data in the JSON file actually represents. So because I don't understand that you can imagine I'm getting some funny results.




Link to comment
Share on other sites

  • 2 weeks later...

Hi, maybe I didn't expain it very well. Below is part of my json file, what do the numbers really mean? I know it has something to do with the geometry, but what?


{ "height":188,
         "data":[10049, 10050, 10051, 10052, 10053, 10054, 10055, 10056, 10057, 10058, 10059, 10060, 10061, 10062]


Link to comment
Share on other sites


  • Recently Browsing   0 members

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