Run while device sleeps

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
FroggestSpirit
Prole
Posts: 11
Joined: Tue Jan 26, 2016 7:13 pm

Run while device sleeps

Post by FroggestSpirit »

When running a love file on android, I noticed that looped music continues to loop while the system is sleeping. Is there a way to have code continue to run while the system is sleeping too? I want to try making a videogame music player, that can use custom loop points (so the user can define how many times to loop a song before fading out), and go to the next song when it's done playing. Can this be done in the love project itself, or would it require modification to the android runner?
This isn't easy to say, but…
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests