Help with TMXParser

Since my last question several months ago, I’ve made significant progress in my game. But I’ve come across a problem. For a while, my game used only three tiles. But now I want to use a more complicated tileset, but I can’t seem to find an easy way to load the tileset. I wanted to make a function that would load the tileset and save each tile’s properties into a tile object, but the problem is, there doesn’t seem to be an easy way to load a tileset simply with TMXParser, unless I’m blind.

Do you refer to this TMXParser? https://github.com/andrewrk/tmxparser

The repo seems active so you may want to contact the author directly if the needed functionality isn’t there, or you don’t know where it is or how to use it.

Just 7 days ago somebody added support for loading external tileset files:

https://github.com/andrewrk/tmxparser/commit/5afdf775b65837dd66187f6a5029011c70abe598

Maybe it helps you figure out how to do what you want. In general, I would expect there to be no need to load a tileset directly, since the tilesets referenced by the map file will already get loaded by the library as part of loading the map.

Following the example they put up, I can’t figure out how to actually use it. I want to use the new tileset functionality, but I can’t seem to figure it out. I’d appreciate a little tutorial on how to show off the tiles with SFML.

You should really try contacting the guys maintaining TMXParser for help with using that library.