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

stop() Stop playing this sound. Source code:

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

onFadeComplete : Phaser.Signal The onFadeComplete

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

destroy(remove) Destroys this sound and all associated events and removes it from the SoundManager.

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

fadeIn(duration, loop, marker) Starts this

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

startTime : number The time the Sound starts at (typically 0 unless starting from a marker)

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

mute : boolean Gets or sets the muted state of this sound. Source code:

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

context :AudioContext Reference to the AudioContext instance. Source code:

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

onMarkerComplete : Phaser.Signal The onMarkerComplete

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

totalDuration : number The total duration of the sound in seconds. Source

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

usingAudioTag : boolean true if the sound is being played via the Audio tag. Source

2025-01-10 15:47:30