Closed namelessvoid closed 11 years ago
Implement a Tileset system. It consists of texture file that contains all tiles and a description file (.xml or jason?).
Example:
<file href="./tileset.png" /> <tile name="swordman" x="0" y="0" widht="32" height="32" />
or
{ "file": "./tileset.png", "swordman" : { "x": 0, "y": 0, "w": 32, "h": 32 } }
Thanks to issues with some json libraries I fell back to TinyXML2 with 56a61f26d356b8145c35ba3b86fece3e3326dd01.
Closed with 1edcf27d5c5a9dc3204c3378a5c0d19950b55f21.
Implement a Tileset system. It consists of texture file that contains all tiles and a description file (.xml or jason?).
Example:
or