Tagged Questions
15
votes
2answers
8k views
A good way to build a game loop in OpenGL
I'm currently beginning to learn OpenGL at school, and I've started making a simple game the other day (on my own, not for school). I'm using freeglut, and am building it in C, so for my game loop I ...
4
votes
3answers
493 views
How do I do a game loop in c99?
I'm having trouble with how to structure a game using c99. I've seen a few tutorials on making a game loop, but they are all done with c++ and classes. My main problem seems to be moving data around ...
3
votes
2answers
3k views
Constant game speed independent of variable FPS in OpenGL with GLUT?
I've been reading Koen Witters detailed article about different game loop solutions but I'm having some problems implementing the last one with GLUT, which is the recommended one.
After reading a ...