Basic Tiled Loader (btl) is a library to load Tiled files.
I have 2 main goals with btl, as this functionality seems missing in other Lua-based Tiled loaders:
-
Handle infinite maps efficiently.
-
Allow usage of a custom camera (currently supporting only hump.camera)
The current implementation only supports rendering orthogonal maps, but perhaps other map types will render correctly.
The code is inspired by the TiledMapLoader example as a starting point. To parse XML files, I've added a modified version of the XMLParser code from Alexander Makeev.