Level Background Music Not Playing When Game Is Paused
When you paused the game all music except for UI audio clicks would stop.
This was a problem since its odd for the user to not hear anything ambient. As well as changing the music volume would be a bit tricky if you could not hear the changes without exiting back to the pause menu or resuming the game.
The team also felt that playing a different song while paused would feel odd. Therefore I needed to find a solution for playing the background music that would work while the game is paused and kept the same background music.
BEFORE
AFTER
The problem was caused by how unreal pause state works as it stops all sound except for UI sound's. My first approach was trying to fix it like I did with some of the pause functionality by making the function that played the music as one that can be called while paused. This did not work since this did not directly effect the music being track itself. After more research I found that this a common issue people have and that one solution was to play the desired sound track as a UI Sound which is normally turned off.
Author: Krishnie Katie Naidoo
Posted on 11/10/2023
Comments
Post a Comment