Laggy drawings (new to Love)
Posted: Thu Oct 09, 2014 1:28 am
Hi guys, I'm new to using Love and have been having trouble with drawing a background for my game.
I've been trying to draw a relatively small background for my game (800x600) but whenever is draw it, the game lags horribly. I'm not sure what I'm doing wrong or what I can do to fix it. The code goes a bit like this.
function love.draw()
if gamestate == "playing" then
love.graphics.draw(background,0,0)
end
end
Any advice would be appreciated!
I've been trying to draw a relatively small background for my game (800x600) but whenever is draw it, the game lags horribly. I'm not sure what I'm doing wrong or what I can do to fix it. The code goes a bit like this.
function love.draw()
if gamestate == "playing" then
love.graphics.draw(background,0,0)
end
end
Any advice would be appreciated!