Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Backlight during game Android


Lizard
 Share

Recommended Posts

Hello everyone!

I making project on phaser with accelerometer control. The problem is when you did not touch screen during game in mobile browser it starting turning off backlight.

Is here any possibles to solve this problem?

Best regards.

Link to comment
Share on other sites

Not sure about anything built into Phaser to solve this, but I've just tried this: NoSleep.js (they have a live demo link at the bottom).

That seems to work nicely. I left it on my Nexus 5X, chrome browser and the backlight stayed on while I left it alone for 5 minutes.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...