stop(marker) Stop a sound with the given name. Parameters
mute : boolean Gets or sets the muted state of the SoundManager. This effects all sounds in the game.
game : Phaser.Game A reference to the currently running Game
new Sound(game, key, volume, loop) The Sound class constructor.
sounds : Object An object containing the Phaser.Sound objects for the Audio Sprite. Source
markers : Object The sound markers. Source code:
new SoundManager(game) The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio
[readonly] usingWebAudio : boolean True the SoundManager and device are both using Web Audio
play(marker, volume) → {
key : string Asset key for the Audio Sprite. Source code:
Page 4 of 10