A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AlmasB/FXGL/issues/1187 below:

Adding more options for volume · Issue #1187 · AlmasB/FXGL · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4