[SDL] Constant framerate code?

DARKGuy . dark.guy.2008 at gmail.com
Thu Apr 26 16:33:49 PDT 2007


Hi people :)

I've been making a game in SDL and OpenGL but I'm having some problems with
the framerate... is there a way I can make the game run at, for example,
30fps on any machine? (smoothly if on fast PC and skipping frames if in slow
PC?)... I know the theory behind, but I've been googling around and such and
I haven't found any code to adapt to my game in any way :/.

Any help is appreciated! :D

- DARKGuy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070426/7b0f9152/attachment.html 


More information about the SDL mailing list