What problem does it solve?
Phaser projects often struggle with correctly managing Scene lifecycles, transitions, and cross-scene communication, which leads to inconsistent state, bugs during switching, and confusing update/render behavior.
Core Features & Use Cases
- Scene lifecycle mastery: Understand and correctly handle init, preload, create, update, and state changes like pause, sleep, shutdown, and destroy.
- Reliable scene control: Start, restart, launch, run, switch, pause/resume, and stop Scenes while knowing what each operation does to the current Scene.
- Transitions and data flow: Configure animated transitions and pass data through start/launch/restart/switch/wake/run, plus coordinate communication via scene events and the global registry.
Quick Start
Use the scenes skill when implementing a Phaser scene that loads assets in preload, sets up game objects in create, updates logic in update, and transitions cleanly to another scene while passing initialization data.