-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Set audio volume globally #7690
Comments
global volume could be in a resource There is one open question: if a global volume is set, should the volume set when using |
I think it should be relative to a global volume. Though, we can add two functions which would respect a global volume and do not. |
I think there should be two functions: |
I'm going to have a go at this one, I'll let you know if I give up. |
What problem does this solve or what need does it fill?
When you want to create a sound volume control system in your game It becomes really inconvenient to provide a volume to every
audio.play_with_settings()
call. So it would be nice to provide a way to set sound volume globally to avoid boilerplate code.Additional context
Also, it would be nice to have a possibility to set a volume to a specific sound type (e.g. Music, Weather, Ambient) in your game.
The text was updated successfully, but these errors were encountered: