new AudioSprite(game, key)
Audio Sprites are a combination of audio files and a JSON configuration.
The JSON follows the format of that created by https://github.com/tonistiigi/audiosprite
Parameters
Name | Type | Description |
---|---|---|
game | Phaser.Game | Reference to the current game instance. |
key | string | Asset key for the sound. |
- Source code: sound/AudioSprite.js (Line 17)
Please login to continue.