Phaser API Documentation

  Version: 
play(key, [extra])

Description:

This method does nothing but return 'false' for the No Audio Sound Manager, to maintain compatibility with the other Sound Managers.

Parameters:

name type arguments description
key string

Asset key for the sound.

extra Phaser.Types.Sound.SoundConfig | Phaser.Types.Sound.SoundMarker <optional>

An optional additional object containing settings to be applied to the sound. It could be either config or marker object.

Returns:
Description:

Always 'false' for the No Audio Sound Manager.

Type:
  • boolean
Since: 3.0.0