scenes

Manage Phaser 4 scene lifecycles, transitions, and inter-scene communication.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Phaser 4 scene management can be error-prone due to complex lifecycles, transitions, and inter-scene communication; this skill consolidates best practices and API usage to simplify building modular game scenes.

Core Features & Use Cases

  • Lifecycle mastery: init, preload, create, update orchestration across multiple scenes.
  • Scene coordination: transitions, parallel scenes, sleep/wake, and switching between scenes.
  • Event-driven communication: using this.scene and scene events to coordinate gameplay across scenes.
  • Use Case: Build a menu scene that loads a game scene in the background while showing UI and passing data between them.

Quick Start

Open the Scenes skill to review the Phaser 4 Scene API and implement scene lifecycle handling in your game project.

Frequently Asked Questions about scenes

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

FAQPage Schema
How do I manage Phaser 4 scene lifecycle hooks like init, preload, create, and update?

Inter-scene communication in Phaser 4 uses scene events and the SceneManager API via this.scene and this.sys. The Scenes skill covers event-driven coordination to pass data and synchronize gameplay across parallel scenes.

Can I run parallel scenes and transition between them in Phaser 4?

Parallel scenes and scene transitions are supported in Phaser 4 through the SceneManager API. The Scenes skill addresses sleep, wake, and switching operations to coordinate multiple active scenes within a single game project.

What's the best way to pass data between a menu scene and a game scene in Phaser?

Passing data between a menu and game scene in Phaser requires event-driven communication using scene events. The Scenes skill demonstrates building a menu that loads a game scene in the background while passing data between them.

Why does my Phaser 4 scene transition fail when switching between active scenes?

Scene transitions in Phaser 4 can fail due to improper lifecycle management or incorrect SceneManager API usage. The Scenes skill consolidates best practices for transitions, sleep, and wake operations to prevent common scene switching errors.

Does the Phaser 4 SceneManager API support scene events for coordinating gameplay?

The Phaser 4 SceneManager API supports scene events accessed through this.scene and this.sys plugins. The Scenes skill details how to leverage these events for event-driven communication and gameplay coordination across multiple scenes.