We can now read and render 2D maps designed in Tiled Map Editor. A demo, along with sample map data, is available in the engine
examples/tiled/ subdirectory (if you take the engine from GitHub of course).
The logic is the unit CastleTiledMap — the class TTiledMap handles the map processing independent on any rendering and inputs, while TCastleTiledMapControl is a simple 2D control that allows to load and display a map.
This is all thanks to a large work by Tomasz Wojtyś! See the pull request #14 for details .
More stuff will come here — like support for hexagonal maps (I’m excited about this:).