espace Posted February 10, 2019 Share Posted February 10, 2019 hi, on the example it works : https://phaser.io/examples/v2/audio/pause-and-resume#gv but on real it doesn't works .....? Phaser CE 2.12.0 - on firefox and on android var s={}; var f={} f.create_sounds=()=>{ s.music=game.add.audio("music"); s.music.volume=.5; s.music.loopFull(); } f.mute_sounds=()=>{ s.music.pause(); } f.create_sounds(); //ok i hear the music setTimeout(()=>{f.mute_sounds()}, 1000);//not works What is wrong ? Link to comment Share on other sites More sharing options...
espace Posted February 11, 2019 Author Share Posted February 11, 2019 Nobody? Link to comment Share on other sites More sharing options...
Recommended Posts