local AdvTiledLoader = require("AdvTiledLoader.Loader")
function love.load()
AdvTiledLoader.path = "maps/"
map = AdvTiledLoader.load("map.tmx")
map:setDrawRange(0, 0, map.width * map.tileWidth, map.height * map.tileHeight)
end
function love.draw()
map:draw()
end
function love.update(dt)
end
either:
- upgrade the lib
- replace the lib (as it's "no longer being actively developed") and use another one (ATL's readme suggests https://github.com/karai17/Simple-Tiled-Implementation ) <- choose this one if not sure
- or downgrade love ( )