Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Phuzz on November 05, 2014, 07:13:56 AM

Title: Pause app in Background
Post by: Phuzz on November 05, 2014, 07:13:56 AM
Hello,

So I am still on my breakout style game (Android), when I get a phonecall or press the home button game pauses in background which is what I want, but as soon as I get back to the game the ball immediately starts moving which might cause the player to lose, how can I set timescale to zero upon returning to app? as if it was paused, so the player will touch the "return" button when ready.

Thank you,
Title: Re: Pause app in Background
Post by: jeanfabre on November 27, 2014, 01:21:15 AM
Hi

you can use this technic:

http://hutonggames.com/playmakerforum/index.php?topic=4788.msg23129#msg23129

then you know when you were paused and implement the UI logic to have the user press "Resume" at her/his convenience.

Bye,

 Jean