Could we get a "load tmx" action for tilemap? Since we can just use tilemap for making levels in construct now as a level editor and save/load tmx files it would be great load them at runtime so that its really simple and quick to do levels.
Develop games in your browser. Powerful, performant & highly capable.
It would be difficult mainly because TMX files use a bunch of different internal formats (like zlib and gzip, which we'd need to find and import JS libraries to support) and is XML-based (so no CocoonJS support). It should work better if you stick to the JSON format that the Tilemap object uses itself. Perhaps an option could be added to Tiled to export in this format directly.
Ah right, thanks for the response.
Yeah saving/loading as JSON in the C2 editor would be just as good, since you can load that at runtime already, so dynamic custom levels would be really easy to make then!