So many audio sources
Author: Aaron King
There haven't been very many big issues in the last few weeks, and that is always good, but since we started adding in more and more sound effects and background music they have started to shy away from using a single audio source to be able to play more consistently. This has been a good and bad thing. Good side of things is that no sound effect is being cut short to play the next one, the bad is that some of them are now no longer relying on the correct volume at which to play at. While not a big issue we need all of our sound effects and music to be able to be modified in the setting without needing tons of sliders to adjust and allowing set global volumes of sound amd music.
The solution I plan on implementing is a pretty straight forward one. While currently I have been setting each audio source to check the global volume before it's played, some of the sources are set to loop and wouldn't be able to check if the correct volume is being played. The way I plan to work around this is to have the SFX manager check for all the audio players when the global volume is changed and set them only when that is changed. This way the one slider in the setting menu can change all the volumes in one call and each object will no longer need to run a check each time a sound is played. This should speed things up a little bit as well and allow everything to run a little smoother as a result.
Disavowed
Status | In development |
Authors | King Studio, Devon0033, Mike_Sroka, Michael-W-Smith7 |
Genre | Adventure |
Tags | 2D, Action-Adventure, Metroidvania, Unity |
More posts
- Steam Launch!!!Dec 17, 2022
- Coming to a closeDec 16, 2022
- Project OverviewDec 14, 2022
- Steam StuffDec 13, 2022
- Achievement GetDec 11, 2022
- Controls Remapping AgainDec 10, 2022
- Steam funDec 09, 2022
- Boss Music ImplementationDec 09, 2022
- SteamWorksDec 02, 2022
- Callback Issue with Controller SupportDec 02, 2022
Leave a comment
Log in with itch.io to leave a comment.