Hi guys, its my first post on this forum so greetings for everyone! but... get to the point.
I did my first game in Love (just Pacman, nothing special). All is ok, but i have noticed that my game is a little bit laggy... So i decided to start it on my another computer (much more worse than my main computer) and... a value of delta time was lower (about 0.003) than value of delta time on ma main computer (about 0.015). Everyone knows what is going on ?
There is no way to guarantee a constant frame rate across computers.
Even on the same computer the frame rate could vary -
like for example if you run another process in addition to Love2D, then the delta value will increase.
There are several things you could do:
-multiply all velocity vectors by delta
-use accumulators and simulate the game by several "steps" per update
Assuming a constant frame rate, and not multiplying all speeds by dt is one of the most common beginner errors. Good thing you learnt about that now, rather than in a bigger project in the future!
If you need help implementing it in your game, please post it here and we can look at it
T-Bone -> I always multiply speed by DT damn... ok but i have got one more problem with distribiuting my game on windows. I have done exactly what is on tutorial but it seems doesnt working... Love2d shows me messege "no game here" or something like that.