Does LÖVE prevent the screen lock from kicking in on mobile devices (Android/iOS) by default? My app is totally "hands-free" because it only uses audio as input, and I don't want screen savers and the like coming on just because the computer/device thinks no one is there.
Now that I think of it, this is just as much an issue on desktops. Does LÖVE offer a way to stop this from happening? Or do I have to implement this myself on each platform? (Android manifest, etc.)
LÖVE and mobile screen lock
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: LÖVE and mobile screen lock
love.window.setDisplaySleepEnabled should do the trick
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 155 guests