audio-and-sound
CommunityAdd immersive Phaser audio with ease
AuthorRaphe-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and simplifies audio management in Phaser 4 games by providing a unified sound system that handles loading, playback, volume, panning, looping, markers, audio sprites, spatial audio, and autoplay policy unlocking.
Core Features & Use Cases
- Unified sound management through this.sound, enabling play, add, pause, stop, and global control over volume, rate, and detune.
- WebAudio vs HTML5 Audio support with automatic backend selection and spatial audio capabilities for WebAudio, plus fallbacks for HTML5.
- Support for common patterns like fire-and-forget plays and retained references, including audio sprites, markers, and spatial cues that follow game objects.
Quick Start
Load audio assets in preload and start playback in create using the sound manager (e.g., this.sound.play('bgm') or this.sound.add('bgm') followed by play()).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: audio-and-sound Download link: https://github.com/Raphe-dev/phaser-cozy-mmo/archive/main.zip#audio-and-sound Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.