A Tiled map loader and renderer library for the LÖVE 2D game framework.
Simple Tiled Implementation (STI) is a Lua library that loads and renders maps created with the Tiled map editor for use in games built with the LÖVE framework. It solves the problem of integrating visually designed game levels from Tiled into LÖVE projects by providing map loading, rendering, and physics integration capabilities.
Game developers using the LÖVE 2D game framework who want to design their game levels visually using the Tiled map editor.
Developers choose STI because it provides a straightforward, well-documented bridge between Tiled and LÖVE, with built-in physics integration and custom layer support, eliminating the need to manually parse and render map data.
Tiled library for LÖVE
Loads maps exported to Lua from Tiled, enabling visual level design without manual parsing, as shown in the example code using sti('assets/maps/map01.lua').
Includes Box2D plugin to automatically create collision objects from map layers, simplifying game physics setup with map:box2d_init(world).
Supports adding custom layers with update and draw callbacks, allowing dynamic sprite management, demonstrated in the example with player sprite rotation.
Provides functions like map:box2d_draw() to draw collision maps in red, aiding in debugging physics boundaries during development.
Requires LÖVE 11.x and Tiled 1.2.x; updates to newer versions may necessitate re-exporting maps and could break compatibility, as noted in the README.
Exclusively designed for LÖVE, making it unsuitable for projects using other game frameworks or engines, with no built-in cross-platform support.
Physics integration requires loading and initializing external plugins like 'box2d', adding complexity to the initial setup beyond basic map loading.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.