Hi,
Consider the following case : -
Game is running in a tab that is not in focus. Although the game is out of focus all the effect sounds are played. These sounds are played when certain messages arrive from server (game connects to NodeJs server via socket.io) . When I switch to the game tab then in spite of all the sounds having been played, those sounds are played again together, creating a high noise.
How should I prevent this behavior ?
Regards,
Siddhant