audio-and-sound

Manage audio in Phaser 4 games via the SoundManager API.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/dzyamik/furry-match3 --skill audio-and-sound-dzyamik
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: audio-and-sound
Source: https://github.com/dzyamik/furry-match3/tree/main/.claude/skills/audio-and-sound
Command: npx skills add https://github.com/dzyamik/furry-match3 --skill audio-and-sound-dzyamik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a unified approach to adding audio and sound effects to Phaser 4 games, handling loading, playback, volume control, spatial audio, and cross-backend compatibility.

Core Features & Use Cases

  • Centralized audio management via Phaser's SoundManager for loading, playing, and controlling sounds and music across scenes.
  • Spatial audio support: position sounds in 2D/3D space relative to a listener, including markers and sprites.
  • Backward-compatible audio pipeline that supports Web Audio and HTML5 Audio backends with smooth fallbacks and consistent API.

Quick Start

Load and play a background track using this skill, then adjust volume and spatial settings as needed.

Frequently Asked Questions about audio-and-sound

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add background music and sound effects to a Phaser 4 game?▼

To add background music and sound effects in Phaser 4, use a centralized SoundManager API to load audio assets, trigger playback, and dynamically control volume across multiple scenes. This approach provides unified audio management for background tracks and discrete effects.

Does Phaser 4 support spatial audio for positioning sounds in 2D or 3D game space?▼

Yes, Phaser 4 supports spatial audio by positioning sounds in 2D or 3D space relative to a listener. This includes spatial positioning for standard audio files, markers, and audio sprites to create immersive directional soundscapes.

What is the best way to manage audio across multiple scenes in Phaser?▼

The best way to manage audio across multiple Phaser scenes is using a unified SoundManager API that centralizes loading, playback, and event-driven control. This ensures consistent audio handling, dynamic volume adjustments, and mute controls persist seamlessly throughout scene transitions.

Can I use Web Audio and HTML5 Audio backends interchangeably for game sound management?▼

Yes, you can use Web Audio and HTML5 Audio backends for game sound management through a backward-compatible audio pipeline. The SoundManager provides a consistent API with smooth fallbacks, ensuring audio playback works reliably regardless of the available backend.

How do audio sprites and markers work in Phaser game development?▼

Audio sprites and markers in Phaser game development work by defining specific timestamps within a single loaded audio file, allowing targeted playback of individual sound effects. This technique optimizes asset loading by consolidating multiple sounds into one track managed by the SoundManager.