New Audio script contains SoundManager and MusicManager classes for controlling sound effects and music respectively
Ability to loop single tracks or shuffle and play a given playlist
Added the sounds.json to resources/audio to contain a dict of all sound effects
Added the music.json to resources/audio to hold playlists
Sound effects added for button_hover, button_click, save_button, page_flip, and roll_dice
Added the ability to specify a sound_id for individual buttons, if no sound_id is specified then the default button sound is played. This is currently specific to UIImageButtons only.
Mute button added, this appears on in the bottom right corner of most screens for easy access
Volume control added in settings + info screen, this has separate sliders for sounds and music
Main Menu Sound Design plays on main menu screens while Generations plays on clan creation screens
We have no biome focused soundtracks at the moment, but the code functionality to play them while within the game proper is there.
New subclass UIImageHorizontalSlider to allow the creation of horizontal sliders with image buttons, truly the only reason was so that i could have pretty volume sliders
Credit to Sharon Hurvitz (Sharooby) for audio work added to credits page
Why This Is Good For ClanGen
We've been woefully audio-less in ClanGen for far too long, this remedies the issue!
Proof of Testing
Audio Den on discord contains videos of the audio system working in game as intended.
Changelog/Credits
Music, Ambiance, and Sound Effects added to ClanGen
About The Pull Request
Why This Is Good For ClanGen
We've been woefully audio-less in ClanGen for far too long, this remedies the issue!
Proof of Testing
Audio Den on discord contains videos of the audio system working in game as intended.
Changelog/Credits