play(key, volume, loop) → {Phaser.Sound}
Adds a new Sound into the SoundManager and starts it playing.
Parameters
Name Type Argument Default Description key string Asset key for the sound. volume number <optional> 1 Default value for the volume. loop boolean <optional> false Whether or not the sound will loop.
Returns
Phaser.Sound - The new sound instance.
Source code: sound/SoundManager.js (Line 631)