Hello,
I need to implement a game clock for tracking sprites entering stage on a scheduled interval. The game is a race to the finish line where a HUD game clock will increment every second (don't care about fractional seconds). Ex. The game clock displays "0:00" at start and say, "2:41" at finish line.
My question: I have a SEL that triggers every framebuffer to redraw the scene. What is the best way to process the delta time on the selector? Should I store a global variable where I add the delta time to it and when it values to >= 1 second advance the display clock 1 second?