scenes

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

3|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/Autinhorse/levelcraft --skill scenes-autinhorse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scenes
Source: https://github.com/Autinhorse/levelcraft/tree/main/games/docs/phaser-skills/scenes
Command: npx skills add https://github.com/Autinhorse/levelcraft --skill scenes-autinhorse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing complex scene workflows in Phaser games can be challenging; this Skill simplifies scene creation, transition, and communication to streamline development.

Core Features & Use Cases

  • Scene Lifecycle Management: Handle init, preload, create, update, pause, resume, sleep, and shutdown events efficiently.
  • Scene Transitions & Switching: Seamlessly switch, launch in parallel, or transition between scenes with animations.
  • Inter-Scene Communication: Pass data and respond to custom events across multiple scenes.
  • Use Case: Build a multi-stage game where the main gameplay scene, UI overlays, and pause menus operate independently yet coordinate through this Skill.

Quick Start

Use the scenes skill to set up a new scene, load assets, and implement basic lifecycle methods.

Frequently Asked Questions about scenes

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

FAQPage Schema
How do I manage multiple Phaser scenes running at the same time?

To manage multiple Phaser scenes, you need to handle parallel execution and inter-scene communication. This Skill enables launching scenes in parallel, passing data between them, and coordinating independent gameplay and UI overlays through custom event handling.

How do I transition between Phaser scenes with animations?

To transition between Phaser scenes, use built-in scene switching mechanisms with visual effects. This Skill supports seamless scene transitions and switching, allowing you to move between game stages with animations while managing the underlying lifecycle events.

What is the Phaser scene lifecycle and how do I handle its events?

The Phaser scene lifecycle includes init, preload, create, update, pause, resume, sleep, and shutdown events. This Skill allows you to handle these lifecycle phases efficiently, ensuring detailed state control for modular game architectures.

Do I need prior Phaser experience to use multi-scene management?

Yes, using multi-scene management requires an existing understanding of the Phaser scene system and event handling. This Skill is designed for game developers building complex architectures who already understand basic Phaser workflows and lifecycle control.

What is the best way to pass data between a gameplay scene and a UI overlay?

The best way to pass data between a gameplay scene and a UI overlay is through inter-scene communication. This Skill enables passing data and responding to custom events across multiple independently operating scenes within a complex game architecture.