RuolinZheng08 / renpy-rhythm

A light-weight rhythm game engine with auto beat map generation built with Ren'Py
https://r3dhummingbird.itch.io/renpy-rhythm-game
MIT License
98 stars 17 forks source link

Pausing the minigame #3

Open AlfredPros opened 3 years ago

AlfredPros commented 3 years ago

I wonder if it's possible to pause the minigame when the player enters the game_menu / pause the game. I've tried to pause the audio when entering the game_menu with this code:

screen game_menu(...):
    on "show" action (PauseAudio("music", True), PauseAudio("sound", True))
    on "hide" action (PauseAudio("music", False), PauseAudio("sound", False))
    ...

But it clearly didn't pause the minigame and the note keeps on going even without the music playing.

RuolinZheng08 commented 3 years ago

It's a feature that needs non-trivial additional implementation. If there is enough interest I might consider doing it.

digitalfunke commented 9 months ago

Hi! Just wanted to say that this engine is super cool and I'm also interested in a feature to allow pausing. Thank you!