I'm reading the Love2D Development book, which i think i will stop reading because is outdated and very instable, sometimes i got a lot of troubles. Backing to the question, i made a tileset map with Tiled and saved in .tmx with Base64 ( uncompressed ) then i used Advanced-Tiled-Loader and used the code from the book:
-- This is the main.lua file --
local loader = require ("Advanced-Tiled-Loader-master/Loader")
---the path to our .tmx files and sprites
loader.path = "map/"
local map = loader.load("tilemap.tmx")
function love.load()
love.graphics.setBackgroundColor(255, 153, 0)
--- load the level and bind the variable map
loader.path = "map/"
local map = loader.load("tilemap.tmx")
end
function love.draw()
map:draw()
end
When i tested the game, the result was this:
https://i.sstatic.net/bVRpl.png
The result was suposted to be like this:
https://i.sstatic.net/0dcUS.png
So what it could be?