On 01.09.2011 14:00, Axel Dörfler wrote:
On 01.09.2011 13:28, Stephan Aßmus wrote:The benefit would be more accurate timing, since the delay to process one animation step would become irrelevant.As you can see, timing isn't really used there at all besides the delay. A better implementation would compute the current animation position by looking at the current time.
Yes, that would be even better than skipping animation steps. It would mean a variable/adaptive frame rate with the shortest possible (additional) delays.
Best regards, -Stephan