Jump to content

general questions, JSON and Tiled map editor


somthingelse123
 Share

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.

 

thanks,

Bruce

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,
 "layers":[
        {
         "data":[10049, 10050, 10051, 10052, 10053, 10054, 10055, 10056, 10057, 10058, 10059, 10060, 10061, 10062]

         "height":188,
         "name":"backgound_graphic",
         "opacity":1,
         "type":"tilelayer",
         "visible":true,
         "width":188,
         "x":0,
         "y":0
        },

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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