Enthused_Dragon's picture

Createing a Pause or Freeze


I'm currently creating a game using OpenTK in .NET managed c++/cli.
I want to make a pause screen for the game, so when I press escape the the game must pause and also resume on closing the pause screen.
Does anyone know what the code might be or where I can find it?
Thanks :-D


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
croman102's picture

Set elapsedTime (or whatever name you gave it) variable to zero (it will stop all movements).

Enthused_Dragon's picture

Ok kwl, I'll try that.