What I want to do is be able to load TMX files and/or the JSON files generated by the map editor Tiled into C2.
However, I need this to be done by loading from my website.
I'm a bit confused by the process, and information regarding loading tilemaps is incredibly vague, let alone on how the current JSON importer works with the tilemap plugin. I saw mention but once about loading TMX files into C2, but there was no mention of whether or not this could be done during, say, gameplay.
What would be even better is if I could load the JSON files generated by the Tiled exporter, as the file size is cut to about a quarter of the TMX size.
Is there any native functionality of C2 to load these files? If not, how would I go about loading and parsing the JSON files created by Tiled? It seems pretty straightforward, but I have little experience writing parsers.
I found a few other tutorials with similar content, and one for parsing the XML of Tiled's TMX file, but nothing about handling JSON.
Can anyone help?