Computer Science Canada

Pausing a game

Author:  Mayb123 [ Thu Jan 10, 2008 6:46 pm ]
Post subject:  Pausing a game

how would one create a procedure or just a few lines of code to pause (and then unpause) a game i'm making? code to come soon

Author:  Zampano [ Thu Jan 10, 2008 7:46 pm ]
Post subject:  Re: Pausing a game

Why use a procedure when Turing has something ready for you: Input.Pause
As I see, anything else is a waste of space.

Author:  Tony [ Thu Jan 10, 2008 8:18 pm ]
Post subject:  RE:Pausing a game

not sure how Input.Pause works, but the idea is to stop the main game loop from executing for the duration of the pause. If Input.Pause works anything like getch, then it should do the trick.


: