Parsing "Collection of Images" with json doesn't work


(Remi) #1

Hi, so I have a Tiled map, I have a “based on a tileset image” tileset, and a “Collection of Images” tileset with a few images of different sizes inside.

Everything works fine, but not for the “Collection of Images” tileset and parsing this with json to our game.

In the link below is the mapmaker from json to cpp. It loads the layer and it works fine, if I add something to the map from “Collection of Images” tileset, it is ignored. I can still collide with it, but it isn’t shown.

Here is the mapmaker file code: https://pastebin.com/AnXrvjL7

The crates in the images are from the “Collection of Images” tileset

but in-game these are gone, but the player can still collide with them…

I bet there is some code missing. if anyone can help that would be greatly appreciated.

I can upload alle maploader files and the maps json file if needed


(Thorbjørn Lindeijer) #2

I’ve asked about your rendering code here: