playMaker

Author Topic: Pause app in Background  (Read 1622 times)

Phuzz

  • Full Member
  • ***
  • Posts: 101
    • Bzilla Games
Pause app in Background
« 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,
Bzilla Games "Education with a Tickle!"
Qbucket Games "Voxel Games"

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Pause app in Background
« Reply #1 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