-
-
Notifications
You must be signed in to change notification settings - Fork 621
Closed
Milestone
Description
Discussed in #1180
Originally posted by nicymike June 10, 2022
Hey!
-
What do you think about adding a new setting to audio for master volume.
Many games have three (or sometimes more) volume sliders: master, music, sound.
The volume for playing audio is then calculated by:
soundVolumeForPlay = master * sound
musicVolumeForPlay = master * music -
What do you think about adding the possibility to play a sound with a different volume eg. adding a new optional parameter to the methods for playing a sound or music.
In my game I have certain sounds for ambience which should be played with lower volume.
What I am currently doing with FXGL is: 1. Lower sound volume, 2. Play sound, 3. Raise sound volume.