SoundManager#muteOnPause

muteOnPause : boolean

Set to true to have all sound muted when the Phaser game pauses (such as on loss of focus),
or set to false to keep audio playing, regardless of the game pause state. You may need to
do this should you wish to control audio muting via external DOM buttons or similar.

Default Value
  • true
Source code: sound/SoundManager.js (Line 105)
doc_phaser
2017-02-14 11:10:04
Comments
Leave a Comment

Please login to continue.