Timer

Aug 24, 2009 at 10:05pm
I Posted a article about 6 months ago and that didn't seem to help me much. This time I am posting my code. I am looking for a timer to be counting down while you are playing the game. If someone could help that would be great.

Thanks,
MM
Last edited on Aug 26, 2009 at 3:27pm
Aug 24, 2009 at 10:28pm
Aug 25, 2009 at 1:46am
Thats where i need the help i cant figure that out. And i have tried that page before


MM
Aug 25, 2009 at 9:42am
You create it when you think you want your timer to start, probably when the game starts in your case. You get WM_TIMER messages (or a callback) at the intervals you specify. You can do your countdown in the handler.

WM_TIMER messages are low priority and can be pushed back in the queue.
Aug 26, 2009 at 3:27pm
I Just kept Searching for the answer and i figured it out. but thanks for your help.

MM
Last edited on Sep 4, 2009 at 9:41pm
Aug 26, 2009 at 4:41pm
I would use the system internal performance counter... its more accurate...
Topic archived. No new replies allowed.