how do you implement Pause?

Started by
9 comments, last by AndreTheGiant 21 years, 1 month ago
You''re quite right Andre, if you are doing proper timebased movement in such a way that...

ticksSinceLastUpdate = GetTickCount() - LastUpdate;
LastUpdate = GetTickCount();
Position += ticksSinceLastUpdate*Veloctiy;

You would have to do the following when you unpause game
LastUpdate = GetTickCount();

Otherwise you''d have large jumps upon unpausing the game

This topic is closed to new replies.

Advertisement