Hello,
I’m new to Tiled so i don’t yet know how everything work.
What i have is a tileset which i gave every tile a custom property “tag”. MOst of them are 0, and i put a few as 1.
What i want to do is export the map as an array of the “tag property”, like
[0,0,0,1,1,0
0,0,1,0,0,1
0,0,0,1,1,0]
I tried to export as .json file and found
"tileproperties":
{
"#":
{
“tag”:0
},
…and the rest of the property values, but i don’t know what the # represents so i can’t format it into the array. I don’t even thin this is properties of each tile in the map because when put a few random 5s for “tag” in the tileset, i didn’t place those tiles in the map, but the .json file still had some “tag”:5.
So is there an easy way to do this, preferably without having to use the commands?