Support for TMX TileMaps

I currently use Tiled to make my tile maps and save the file as a .tmx.
I’d love to see support for importing tmx maps into Defold and having access to tiles on the sheet and tiles on the map (get a tile on a specific layer).
I’ve seen an example of loading Tiled maps into LUA here.

The reason I ask for this is because I “bake” my data into my maps as tiles. For example: I use collision as a tile on it’s own layer. I then check when the player is moving if there is a tile on the collision layer at the x,y position. If there is, disallow movement. I also use it for event handling. I use invisible tiles to trigger stuff like stand on events (like a teleport). After the player is done moving, I check if the tile is a stand on event and call the code for it.

I believe (from what I’ve read on Defold’s Tilemap code) that this could be implemented and still use a lot of the default functions once the data of the map is passed through.

1 Like

You should have a look at @Andreas_Jirenius answer to this post: Some generic questions

1 Like