audio-and-sound

Unify audio loading and playback management across Phaser 4 scenes.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/GiantCroissant-Lunar/proto-breakout --skill audio-and-sound-giantcroissant-lunar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audio-and-sound
Source: https://github.com/GiantCroissant-Lunar/proto-breakout/tree/main/.agent/skills/01-phaser/audio-and-sound
Command: npx skills add https://github.com/GiantCroissant-Lunar/proto-breakout --skill audio-and-sound-giantcroissant-lunar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Phaser audio management can be fragmented across scenes and backends, leading to inconsistent sound behavior and repetitive boilerplate code.

Core Features & Use Cases

  • Unified audio loading and playback across scenes
  • Volume, mute, pan, and spatial audio controls with WebAudio fallback
  • Support for markers, audio sprites, and event-driven sound management
  • Real-world use: orchestrate background music, sound effects, and spatial cues in a single game

Quick Start

Load your audio assets and use the unified sound manager to play background music with controlled volume.

Frequently Asked Questions about audio-and-sound

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

FAQPage Schema
How do I manage Phaser 4 audio loading and playback consistently across scenes?

Phaser 4 audio management can be unified by applying a single SoundManager that handles loading, playback, volume, and spatial audio controls across WebAudio and HTML5 backends for reliable cross-device results.

How do I handle spatial audio and volume controls with WebAudio fallback in Phaser?

Spatial audio and volume controls in Phaser can be handled through unified APIs that support pan and spatial cues, automatically falling back across WebAudio and HTML5 backends for cross-device compatibility.

Can I use audio sprites and markers for event-driven sound management in Phaser 4?

Yes, you can use audio sprites and markers in Phaser 4 for event-driven sound management. The unified API provides per-sound settings and event controls to orchestrate background music and sound effects.

Why does my Phaser game sound behavior become inconsistent across different devices?

Phaser game sound behavior becomes inconsistent across devices due to fragmented audio management across scenes and varying WebAudio or HTML5 backend implementations, which a centralized SoundManager resolves.

What is the best way to orchestrate background music and sound effects in a single Phaser game?

The best way to orchestrate background music and sound effects in a single Phaser game is using a coherent API with a single SoundManager, applying per-sound settings, markers, and events.