Search found 3 matches

by Orange
Thu May 31, 2012 12:42 pm
Forum: Support and Development
Topic: Understanding framerate independent programming
Replies: 8
Views: 5079

Re: Understanding framerate independent programming

Have a "maxdt" cap in your love.update, so that if the screen lags too much, or the user moves the window around with the mouse, your logic isn't screwed Right, but doesn't that take the point out of framerate independent programming? Also, I've been searching through the source of Mari0 ...
by Orange
Thu May 31, 2012 3:36 am
Forum: Support and Development
Topic: Understanding framerate independent programming
Replies: 8
Views: 5079

Understanding framerate independent programming

Hi! I'm having some trouble wrapping my brain around framerate independent programming. It seems to be worse than using a fixed timestep, iterating multiple times when catching up is needed. My biggest concern is game logic changes based on fps. Example: Pixel A is traveling 1 pixel per second towar...
by Orange
Thu May 31, 2012 12:13 am
Forum: Support and Development
Topic: About dt...(edit: and something else)
Replies: 21
Views: 13012

Re: About dt...(edit: and something else)

Hi! 1) I'm still trying to figure out delta times for myself, but I think I can partially answer your question. When your game runs at 30 FPS, the object moves 6.666... pixels 30 times in one second. At 60, that is halved so the object moves 3.333... pixels 60 times in one second. They both move the...