OnTimer() - clockspeed
Posted on 1998-09-22
I have written a a game in VC++5.0, similar to "nibbles", where the user controls a worm that runs across the screen. To display the bitmaps I used the OnTimer() command.
Although the game runs fine on my computer, I have tried it on other computers and the worm moves at different speeds. My computer is running win95 and a slower computer running winNT makes the worm move incredibly too fast to play it.
Can anyone please show me how to set the clockspeed temporarily durring the program, or write a function that will make the game run at the same speed on all systems?