odelia Posted May 31, 2016 Share Posted May 31, 2016 Hi, I have a game with audio and for some reason it still playing when out of focus I used the same code from other game that don't behave like this.. why is that? this.load.audio('msx_main', ['assets/audio/main.ogg', 'assets/audio/main.mp3']); var msx_main = this.game.add.audio('msx_main'); msx_main.play("",0,0.2,true); It does stop on IOS but not on desktop or Android HELP!!! Thank you VitaZheltyakov 1 Link to comment Share on other sites More sharing options...
odelia Posted June 1, 2016 Author Share Posted June 1, 2016 ok, it's fixed! for some reason I had this.stage.disableVisibilityChange = true Link to comment Share on other sites More sharing options...
Recommended Posts