somthingelse123 Posted December 26, 2014 Share Posted December 26, 2014 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 More sharing options...
somthingelse123 Posted January 5, 2015 Author Share Posted January 5, 2015 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 More sharing options...
Recommended Posts