As a new user, it looks like I can’t embed more than 3 medias in a same post… Too bad. I hope my message will be clear enough despite of that.
Exporting the tileset as a Lua file works as intended, the IDs and properties seem correct.
But after exporting the layers as a Lua file, I just noticed 2 weird things. Not sure if this is a bug or not… but it really looks like it (and maybe 2 different bugs), so… just in case I report them in the “bug” section.
1/ Wrong tile ID(s?).
My basic ground tile, used almost everywhere in the tilemap, is ID 129 (too bad I can’t display a screenshot of the tilemap in question… would have been more obvious - edit: but you can see it in my edited messages )
But for some reason, when exporting the layers as a Lua file, it is replaced by 130 (and maybe there are other wrong IDs? but this one is super easy to identify).
When exporting the tileset itself, it seems ok. ID 129 is the only “walkable” (for testing purpose).
The issue only exists when exporting the layers.
2/ Weird IDs in my exported layer data.
These IDs don’t exist in my tileset (and are not present in the tileset Lua export). IDs vary from 0 to 1023, as expected.
Overall, the tileset export seems to work as intended while there are “bugs” (I suppose?) when exporting the layers (wrong IDs).
PS: not sure at all, but I may have resized my tilemap (= removed a column), in this case it could have created a shift or something… This is something I’ve done with previous tilemaps, but not sure about this one.