Ability to check if the device OS is paused or not.

Post » Wed Aug 23, 2017 10:38 pm

I am developing on mobile devices, and the ability to determine if the game still has focus is extremely important. The game can be interrupted by users pressing the back or home button, or when receiving an incoming phone call or when another app comes into the foreground. Having this ability will allow developers to pause the game, save the current state or do other stuff that is required when the game is forced into the background.

I believe that this should be a core feature, especially when targeting mobile devices.

Please make this happen. (I'm down on my knees begging)

PS - I've already submitted this to the Construct 3 suggestions and ideas. If any developers are targeting mobile devices, please vote. The title of the idea is the title of this post.
B
8
S
1
G
1
Posts: 16
Reputation: 673

Post » Thu Aug 24, 2017 9:10 am

Use the Browser object On suspended/On resumed triggers.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Thu Aug 24, 2017 1:31 pm

Hi Ashley,

Awesome!!! Thank you so much!!! I will try this out.

I am loving Construct 3 so far.
B
8
S
1
G
1
Posts: 16
Reputation: 673

Post » Fri Aug 25, 2017 12:34 pm

Hi Ashley,

Still doesn't work. This hasn't been a problem when I was using Construct 2.

I've submitted a bug report on Github, please check.

Thank you.
B
8
S
1
G
1
Posts: 16
Reputation: 673

Post » Sun Aug 27, 2017 7:05 am

thank you. i will try it .
B
2
Posts: 4
Reputation: 158


Return to General Discussion

Who is online

Users browsing this forum: rhg1968 and 2 guests