Problem with Android sleep and wake

Chat about anything not covered in these forums, but keep it civil!

Post » Tue May 05, 2015 8:15 pm

My game pauses automatically when the player is not touching the screen by setting time scale to 0. It unpauses when you touch a sprite that sets the time scale back to 1.
This has worked very nicely for me except in one case. I used cordova and Intel XDK to create an android crosswalk build on my phone. When the phone falls asleep (not when I manually press the power button) and I wake it back up, the button no longer works. I'm not sure if it's just not recognizing the input or what. It does have one other check to make sure the user is not touching the screen in more than one place, but that's it.

Any ideas? I would post a screenshot of the event sheet but I'm not sure how, and I would rather not send the whole capx if possible.
B
3
Posts: 3
Reputation: 181

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 4 guests