playMaker

Author Topic: "App is Running in Background" Action ![SOLVED]  (Read 1217 times)

Loganou974

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
"App is Running in Background" Action ![SOLVED]
« on: September 11, 2013, 03:05:51 AM »
Hi there !

We're currently making this tamagotchi-like game and i was unable to find an action that can inform if the App is Running in Background or Not. See i need to know whenever the player decides to put the game in standby.

Can anybody help me with this ? I really think this action (or similar) would be useful for those who design games for iOS /Android !
« Last Edit: September 11, 2013, 05:46:20 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12344
  • Official Playmaker Support
    • View Profile
Re: "App is Running in Background" Action !
« Reply #1 on: September 11, 2013, 03:14:01 AM »
Hi,

 you need to listen to the system event "APPLICATION FOCUS" and or "APPLICATION PAUSE"

 Bye,

 Jean

Loganou974

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Re: "App is Running in Background" Action !
« Reply #2 on: September 11, 2013, 03:15:30 AM »
Thanks for the support, i'll try this out right now !

EDIT : I feel ridiculous for having forgotten these useful system events... Seems to work perfectly fine now ! Thanks a lot !
« Last Edit: September 11, 2013, 05:32:51 AM by Loganou974 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12344
  • Official Playmaker Support
    • View Profile
Re: "App is Running in Background" Action ![SOLVED]
« Reply #3 on: September 11, 2013, 05:46:57 AM »
Hi,

 No worries, there is so much... it's difficult to keep up with everything :)

 bye,

 Jean