Open thejacer87 opened 2 years ago
hey @thejacer87 do you have any examples / documentation for OS.suspend()
?
hey @thejacer87 do you have any examples / documentation for
OS.suspend()
?
nah man, sorry. i just assumed there is some sort of suspend command it can listen for
Is your feature request related to a problem? Please describe. When I sleep the steam deck, all is well. But when it wakes from suspend, the game continues to play in the background until I have finished unlocking the device.
Describe the solution you'd like When the deck is put to sleep. Either pause the game so when I re-open, the game has been paused; or pause the game loop in GM, then somehow listen for when the system is unlocked, resume the process.
Describe alternatives you've considered Pause the game myself before entering sleep.
Additional context Steamdeck support would be great, maybe think about releasing the AM2R launcher on flathub so we can install from there instead of building it manually