Problem with Android sleep and wake

0 favourites
  • 1 posts
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)