How Can I Un-Suspend The Game?

Learn how to start making games.

How Can I Un-Suspend The Game?

Postby PerrySteven » Mon Jun 27, 2016 3:32 am

I want to add pause functionality to my game, but for some reason the PauseGameOn(); and PauseGameOff(); functions don't work, so I decided to use the SuspendGame(); function which pauses my game perfectly well. But the problem I'm facing now is that I don't know how to do an un-SuspendGame action in the script editor.
User avatar
PerrySteven
 
Posts: 46
Joined: Sun Jan 25, 2015 4:29 am
Location: Malaysia
Score: 1 Give a positive score

Re: How Can I Un-Suspend The Game?

Postby schnellboot » Thu Jun 30, 2016 7:44 pm

SuspendGame: Pause the game and stop receiving any events.

void SuspendGame()

Script Editor Syntax:

SuspendGame();

Shows the task bar on the Pocket PC.
Continue the game only if the game gets the focus (when the user clicks on game title bar window or uses Alt+Tab or if user click on [Continue] option on Pocket PC, Handheld PC and Smartphone).
http://game-editor.com/docs/script_reference.htm


What was wrong with PauseGameOn()?
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 1 guest