Need Help, My Map wont draw!
Posted: Tue Oct 06, 2015 1:12 am
Hey can you please help me, I'm coding a video game. The map wont draw for some reason here is all my stuff!
please help me with my problems.
please help me with my problems.
Code: Select all
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