brentstrandy Posted May 27, 2016 Share Posted May 27, 2016 Simple question: Is there a way to stop all sounds that are currently playing? I'm not looking to mute. Details: I have background music that plays on a loop and will continue to play thru Phaser state changes. I'd like to start the music in one state and end the music in another state. Without passing a reference to the audio object between states, can I do something like: game.sound.<something> to get a reference to all currently playing sounds? Or maybe just a method that says game.sound.stopAllMusic? Link to comment Share on other sites More sharing options...
Kishore Posted May 27, 2016 Share Posted May 27, 2016 You can try game.sound.stopAll(); Hope this helps u.!! Link to comment Share on other sites More sharing options...
Recommended Posts