Hello everyone, I just published my progress on making a Tiled parser, which you can use to integrate Tiled into your personal 2D frameworks / game engines. The code is available on GitHub:
santiberna/TiledCpp: C++17 parser for Tiled (TMX and TSX) files.
santiberna/TiledCppSamples: Code samples for TiledCpp
Even though there are already some C++ Tiled Parsers, I wanted to take a more modern approach to the problem. I also did it as a learning exercise, since I plan to develop some 2D tile based games myself.
The library currently supports orthogonal maps, tile sets with external images, tile layers, custom properties and tile animations. It works directly with .tmx
and .tsx
formats.
Please check it out if you are interested!