libtmx
0.4.0
an C++11 library for reading TMX files
|
libtmx
is a C++11 library for reading TMX files. TMX (Tile Map XML) is a XML dialect used in Tiled, a tile map editor. libtmx is not meant to modify TMX files but to read TMX files. Its main use case is for games that use TMX maps. The library is not a rendering library, so it does not depend on any graphical toolkit.
First, you have to parse a map file.
Then, you can navigate through the map with the methods of tmx::Map
or you can define a class that visits every layer thanks to the visitor pattern.
And then, give the visitor to the map.
For more information, see:
This library is open source and is distributed under the ISC license.