Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / how to know it, when the game go to background?

Author
Message
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 10th Jan 2012 13:25
most of the game will be paused when users switch out, the game will go to background, how to know the event and pause the game?

The Miracrea Games
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 10th Jan 2012 13:27
There may be a way in Tier 2 that I'm not aware of but there isn't currently an AppGameKit command for this.

anwserman
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 10th Jan 2012 13:30
Nothing, we've been hammering Lee and the team to include some sort of feature that allows this.

Hi there. My name is Dug. I have just met you, and I love you.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 10th Jan 2012 17:28
This will be included in future as GetResumed() which will return 1 when you app has been reactivated from being in the background. Whilst in the background your app will automatically pause so it is just a case of showing the pause screen when it reactivates to allow the user some time before restarting play.

Login to post a reply

Server time is: 2024-11-22 23:56:04
Your offset time is: 2024-11-22 23:56:04