C++ Timer

Hi guys,

I have been searching around the internet and experimenting with timers in C++ but am still having some trouble.

I am attempting to make my first game using C++, Win32API and OpenGL.

The game is similar to Tetris. I want to implement a timer that will call the moveDown() function in my block class every X seconds but I still want the program to allow the user to be able to move left and right during that time.

I found a few timers whilst searching around on the internet but they seemed to prevent anything happening in the program while the seconds ran down.
Are you using SetTimer and the WM_TIMER message?
Topic archived. No new replies allowed.