Best approach for game animation?
问题 I have a course exercise in OpenGL to write a game with simple animation of a few objects While discussing with my partner our design options we've realized we have two major choices for how the animation is going to work, Either Set a timer for a constant interval, say 30 msec, when the timer hits, calculate where objects should be and draw the frame. or - Don't use a timer, just a normal loop that runs all the time and in each iteration check how much time passed, calculate where the