Displaying tile IDs to convert map to text


(Dylan Garvock De Montbrun) #1

Hello everyone!

I’ve built a sweet tilemap (this program is amazing).
I’m wondering if there is a way to display the IDs of each placed tile on my map. I want to type out some code to create them in my C++ game. The game uses numbers to load corresponding PNGs.

A horizontal line of grass with water on each side (0 being grass, 1 being water) would look like this:
1,1,1,1,1,0,0,0,0,0,1,1,1,1,1

I see that each tile in the tileset has an ID number, and this would be perfect for my program. Is there a way to have my tilemap display the ID of each placed tile? also, is there a way to change the ID of tiles in the tileset?

Any help on this would be much appreciated. Thanks for the great program!


(Thorbjørn Lindeijer) #2

That’s great to hear!

Maybe the CSV export format is what you’re looking for? While you can’t change the ID of tiles, the CSV export does allow you to control how each tile is exported via a custom “name” property.