I don’t want the screen to fade out after a few seconds - how do I make sure that it stays lit/active?
How and where do the screen fade out? Are you talking about overriding device user settings?
While the game is running, the screen fades out after a while, as per the power-saving settings. Apps can override this, but I don’t know how to do it in Defold. I’m not getting this on iOS it seems, but it happens on the Android devices.
Basically looking for the Defold equivalent of this: http://docs.unity3d.com/ScriptReference/Screen-sleepTimeout.html
Ok. I’m not sure if it perhaps can be set in the manifest. I’ll check.
I’m resurrecting this one since it was asked about again in another post. @sicher, did you find a solution?
This feature has been requested before, the internal ID is DEF-1260. It’s planned to be implemented during the summer.
Is there new info on this? How to keep an app awake?
It has some trivial Java implementation on android, I bet whether it was added. Couldn’t find any toggles in project settings or in the documentation.
Tried searching for “keep awake” with no luck
Have you tried setting the window dim mode?
Thanks, looks like the exact thing I was looking for.