Code: Select all
io.stdout:setvbuf("no")
local love = _G.love
local sti = require "sti"
local map, world, tx, ty, points
function love.load()
map = sti("Map/export.lua", { "box2d" })
end
Error
sti/utils.lua:195: Could not open file ../assets/block1.png. Does not exist.
Traceback
[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'newImageData'
sti/utils.lua:195: in function 'fix_transparent_color'
sti/init.lua:106: in function 'init'
sti/init.lua:48: in function 'sti'
main.lua:7: in function 'load'
[love "callbacks.lua"]:136: in function <[love "callbacks.lua"]:135>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
Someone can explain why this happen with just not tiled map? In the same maps in tiled this error doesn't happen.