AudioSprite#stop()
  • References/Game Development/Phaser/Sound/AudioSprite

stop(marker) Stop a sound with the given name. Parameters

2025-01-10 15:47:30
SoundManager#mute
  • References/Game Development/Phaser/Sound/SoundManager

mute : boolean Gets or sets the muted state of the SoundManager. This effects all sounds in the game.

2025-01-10 15:47:30
Sound#game
  • References/Game Development/Phaser/Sound/Sound

game : Phaser.Game A reference to the currently running Game

2025-01-10 15:47:30
Sound#Sound
  • References/Game Development/Phaser/Sound/Sound

new Sound(game, key, volume, loop) The Sound class constructor.

2025-01-10 15:47:30
AudioSprite#sounds
  • References/Game Development/Phaser/Sound/AudioSprite

sounds : Object An object containing the Phaser.Sound objects for the Audio Sprite. Source

2025-01-10 15:47:30
Sound#markers
  • References/Game Development/Phaser/Sound/Sound

markers : Object The sound markers. Source code:

2025-01-10 15:47:30
SoundManager#SoundManager
  • References/Game Development/Phaser/Sound/SoundManager

new SoundManager(game) The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio

2025-01-10 15:47:30
SoundManager#usingWebAudio
  • References/Game Development/Phaser/Sound/SoundManager

[readonly] usingWebAudio : boolean True the SoundManager and device are both using Web Audio

2025-01-10 15:47:30
AudioSprite#play()
  • References/Game Development/Phaser/Sound/AudioSprite

play(marker, volume) → {

2025-01-10 15:47:30
AudioSprite#key
  • References/Game Development/Phaser/Sound/AudioSprite

key : string Asset key for the Audio Sprite. Source code:

2025-01-10 15:47:30