[SDL] Framerate independence?

Scott Harper lareon at comcast.net
Mon Mar 26 23:49:06 PDT 2007


> L-28C wrote:
>> What's the code to get framerate independence?
> I've written an article about that at
> http://dewitters.koonsolo.com/gameloop.html
> It takes a look at the different possible implementations of game  
> loops,
> and discusses the pros/cons. It's not SDL specific though, but I don't
> think its difficult to translate it to the SDL lib (I know I did ;-).

That's a great writeup!  Thank you very much for linking to it, and I  
have now added it to my game-dev bookmarks! ^_^

Truth be told, I hadn't actually thought of the persistent framerate  
with sub-frame interpolation idea!  Nice, that one!

-- Scott


More information about the SDL mailing list