I'm writing a game of pong in OpenGL and SDL. I have a small knowledge of how SDL_GetTicks() works but I am struggling to think of a way to implement how to make my ball move for example every 1000 milliseconds being the novice I am.
Short examples, explanations, help, anything at all would be appreciated greatly.
Ye Olde Fix Your Timestep!
You don't have to use RK4, the "interpolate between the last two sim states" is the important part.