Skip to content

Adding more options for volume #1187

@AlmasB

Description

@AlmasB

Discussed in #1180

Originally posted by nicymike June 10, 2022
Hey!

  1. 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

  2. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions