Playmaker Forum

Playmaker Feedback => Action Requests => Topic started by: Loganou974 on September 11, 2013, 03:05:51 AM

Title: "App is Running in Background" Action ![SOLVED]
Post by: Loganou974 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 !
Title: Re: "App is Running in Background" Action !
Post by: jeanfabre 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
Title: Re: "App is Running in Background" Action !
Post by: Loganou974 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 !
Title: Re: "App is Running in Background" Action ![SOLVED]
Post by: jeanfabre 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
Title: Re: "App is Running in Background" Action ![SOLVED]
Post by: kavery on May 18, 2018, 11:28:17 AM
How do you listen for a system event?

Thanks
Title: Re: "App is Running in Background" Action ![SOLVED]
Post by: jeanfabre on May 21, 2018, 03:53:07 AM
How do you listen for a system event?

Thanks

Please don't double post: http://hutonggames.com/playmakerforum/index.php?topic=18808.msg81679#msg81679

 Bye,

 Jean