Resume game after pressing home button?

Get help using Construct 2

Post » Sat Jun 14, 2014 12:23 am

I notice everytime I press the home button (iphone) to do something else...my game restarts
Am I not able to resume back into the same state in the game?
Is there a way to fix this?

Im using cocoonJS btw..
B
17
S
6
G
1
Posts: 79
Reputation: 2,422

Post » Tue Aug 25, 2015 2:49 pm

I didn't test it yet on mobile, but I think you could do it by simulating a pause button function. After that, add the Browser function to your project and then add: "on mobile menu button pressed". Here's an example:

Image

Don't forget to exclude the pause button sprite from the time scale 0 by making its time scale to 1.

Try it, maybe it'll work, I'm not 100% sure.
B
24
S
6
Posts: 64
Reputation: 1,436


Return to How do I....?

Who is online

Users browsing this forum: sublimate and 1 guest