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

FlxSoundGroup: add pause() and resume() #2043

Merged
merged 2 commits into from
Feb 25, 2017
Merged

Conversation

diegosolo
Copy link
Contributor

This update allows developers to pause and resume all sounds in a sound group. This is useful when, for example, opening a pause menu. In such case, the developer could pause all gameplay sounds (in one or more groups) and resume them after the menu closes.

The code suggested is pretty straightforward so examples shouldn't be necessary. In any case, I could add some under request.

This update allows developers to pause and resume all sounds in a sound group. This is useful when, for example, opening a pause menu. In such case, the developer could pause all gameplay sounds (in one or more groups) and resume them after the menu closes.

The code suggested is pretty straightforward so examples shouldn't be necessary. In any case, I could add some under request.
@Gama11 Gama11 changed the title Add pause() and resume() methods to FlxSoundGroup FlxSoundGroup: add pause() and resume() Feb 25, 2017
@Gama11
Copy link
Member

Gama11 commented Feb 25, 2017

Looks good, thanks!

@Gama11 Gama11 merged commit e08dba2 into HaxeFlixel:dev Feb 25, 2017
@MSGhero
Copy link
Member

MSGhero commented Feb 25, 2017

I did not realize this didn't exist

Aurel300 pushed a commit to larsiusprime/haxeflixel that referenced this pull request Apr 18, 2018
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

Successfully merging this pull request may close these issues.

3 participants