Hey 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 :/.
I've tried some codes around in google that look simple, but when I try them, the game either stutters or hangs up between the wait time. I don't want the game to stop every second, I want it to flow at the same speed in any machine...
Any help is appreciated!
- DARKGuy



LinkBack URL
About LinkBacks





