I want to make a countdown timer for my racing game such as "3... 2... 1... GO!" I'm using GLUT, OpenGL, and C++. I was wondering what the most appropriate method to handle this in C++. clock()? glutTimerFunc()? I plan on having 4 textured polygons that shrink and fade one after the other.
You need to accumulate time in your
You can refactor this in any number of ways, but this is the basic idea of how to trip time based events in a game system.