OtagoPolytechnic / Duck

Duck is a roguelike top-down wave shooter. This is a student project.
https://forms.gle/hCBFjTrNGyyv8ZxT9
GNU General Public License v3.0
3 stars 0 forks source link

Game audio refactor #32

Closed kblack89 closed 1 month ago

kblack89 commented 1 month ago

Changing audio so we can adjust the volumes for all separate sounds and music. Also deleted unused directory.

AlexReidNZ commented 1 month ago

When starting the game from the main scene in the editor, the volume balancing is good, but the game over sound plays at the start. When starting from the main menu, it still uses the old unbalanced sound where the player shot is very loud.

This is happening because the SFXManager isn't destroyed on load and the new audio mixer hasn't been assigned on the main menu scene.

kblack89 commented 1 month ago

After merge will change the game over sound to happen when there is a game state for game over rather than player health being at 0