I've used a software for my level designing in c++ and java in the past called tiled: mapeditor.org
I want to try to get the following map working from mapeditor into construct 2:
This map is 64 x 64 tiles, and uses the tiles as palleted here:
Tiled outputs a JSON file, in this case, the map's JSON file can be found on pastebin: pastebin.com/06qAUJKr
I have seen the tutorial here: scirra.com/tutorials/978/example-load-data-from-json-to-array-and-populate-game-card load data from json to array, but the lack of diverse examples still puzzles me. here is my current attempt, simmilar to the tutorial:
and this produces the incorrect tileset, as it seems to look like so:
This obviously means that the array isn't loading the data properly, but I cannot figure out for the life of me why it is not loaded, I've popped the data into multiple online parsers, yet this still baffles me. Could someone please enlighten me to the error of my ways?