We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5e327 commit 7063085Copy full SHA for 7063085
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -12,6 +12,15 @@ var HTML5AudioSound = require('./HTML5AudioSound');
12
13
/**
14
* HTML5 Audio implementation of the Sound Manager.
15
+ *
16
+ * Note: To play multiple instances of the same HTML5 Audio sound, you need to provide an `instances` value when
17
+ * loading the sound with the Loader:
18
19
+ * ```javascript
20
+ * this.load.audio('explosion', 'explosion.mp3', {
21
+ * instances: 2
22
+ * });
23
+ * ```
24
*
25
* @class HTML5AudioSoundManager
26
* @extends Phaser.Sound.BaseSoundManager
0 commit comments