Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pausing the minigame #3

Open
AlfredPros opened this issue May 22, 2021 · 2 comments
Open

Pausing the minigame #3

AlfredPros opened this issue May 22, 2021 · 2 comments

Comments

@AlfredPros
Copy link

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
Copy link
Owner

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

@digitalfunke
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants