Tiles json is empty


(phil123456) #1

Hello,

after setting colision shapes I exported my tiles to json I get this

{ "source":"C:\/Users\/phil\/Desktop\/tiles.tsx"
}

nothing else

is there something I am missing???

I already implemented a json parser, I really dont want to go to xml :slight_smile:

regards


(Thorbjørn Lindeijer) #2

Unfortunately you ran into a bug. It’s already fixed in the repository:

The fix will be out in the upcoming Tiled 1.1.4 and the next development snapshot. I plan to release a new snapshot in the next two days. Not sure yet when it’s time for 1.1.4 since there’s some other issues to be looked into as well.

As a workaround, you can Save instead of Export your tileset in JSON format. Just beware that this will probably change the tileset reference in maps saved afterwards.


(phil123456) #3

already used tinyxml2 to load data :slight_smile:

where can I download the built snapshot ?


(Thorbjørn Lindeijer) #4

Oh well. :slight_smile:

The development snapshots are available on itch.io, they are the files labeled “snapshot”. But the above fix is not in the latest snapshot yet.


(phil123456) #5

ok thanks, let me know


(Thorbjørn Lindeijer) #6

The fix is available in the latest development snapshot:


(phil123456) #7

thanks, I submitted another bug :slight_smile: