Simple Tiled Implementation is a Tiled Map Editor library designed for the awesome LÖVE framework.
local sti = require "sti"
local myMap
function love.load()
-- Load a map exported from Tiled as a lua file
myMap = sti.new("assets/maps/map01.lua")
end
function love.update(dt)
myMap:update(dt) -- this doesn't do anything (yet)!
end
function love.draw()
myMap:draw()
end
This code is licensed under the MIT Open Source License. Check out the LICENSE file for more information.