love.update(dt)
Posted: Mon Oct 20, 2014 3:12 pm
Hi, I'm new to Love2d, and I have 2 questions.
1.Does love.update(dt) HAVE to be called in main.lua?
2. If it doesn't HAVE to then can I call the function love.update(dt) multiple times? like this:
function love.load
end
function love.update(dt)
end
function love.update(dt)
end
function love.draw()
end
--Any help will be appreciated!
1.Does love.update(dt) HAVE to be called in main.lua?
2. If it doesn't HAVE to then can I call the function love.update(dt) multiple times? like this:
function love.load
end
function love.update(dt)
end
function love.update(dt)
end
function love.draw()
end
--Any help will be appreciated!