Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Pausing a game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mayb123




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Zampano




PostPosted: 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.
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: