[SDL] Problem with SDL_GetTicks()

Kolja Kube kolja.kube at gmail.com
Tue Aug 30 08:54:13 PDT 2005


Koshmaar wrote:
>>Has anybody an idea why this happens or how I could get around it?
> 
> 
> 
> 
> Maybe you could get around it by using system suggested in this article: http://www.gaffer.org/articles/Timestep.html

First, thanks for answering. But it seems as if that method doesn't work. I 
don't use the integration methods described in that article as I'm currently 
only using constant velocity, but if I got it right it shouldn't make any 
difference this way.
Still the unsteady framerate creates visible stuttering of the moving images, 
as it jumps to about 50 times itself every couple of hundred of frames.

I'll go on fiddling around with the code, but any additional help would still 
be appreciated.




More information about the SDL mailing list