Re: Love2d Timestep and keypress (with repeat) not updating correctly?
Posted: Mon Apr 30, 2018 3:24 am
Looks ok. Just set your tick rate to a reasonable value like at least 10ms per tick and you'll be fine.
Another thing you should consider is vsync.
I'm not 100% sure, but love.graphics might have to "busywait" for vsync in your case (since you're calling love.draw by hand).
Perhaps somebody with more knowledge of love.graphics can confirm.
Another thing you should consider is vsync.
I'm not 100% sure, but love.graphics might have to "busywait" for vsync in your case (since you're calling love.draw by hand).
Perhaps somebody with more knowledge of love.graphics can confirm.