playMaker

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

Loganou974

  • Playmaker Newbie
  • *
  • Posts: 18
"App is Running in Background" Action ![SOLVED]
« on: September 11, 2013, 06: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, 08:46:20 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "App is Running in Background" Action !
« Reply #1 on: September 11, 2013, 06: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
Re: "App is Running in Background" Action !
« Reply #2 on: September 11, 2013, 06: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, 08:32:51 AM by Loganou974 »

jeanfabre

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

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

 bye,

 Jean

kavery

  • Full Member
  • ***
  • Posts: 149
Re: "App is Running in Background" Action ![SOLVED]
« Reply #4 on: May 18, 2018, 02:28:17 PM »
How do you listen for a system event?

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "App is Running in Background" Action ![SOLVED]
« Reply #5 on: May 21, 2018, 06:53:07 AM »