phaser-scene-navigation
Installation
SKILL.md
Phaser Scene Navigation
Overview
Standardize Phaser scene transitions and navigation testing patterns. Improve reliability of scene navigation testing.
Scene Transition Methods
this.scene.start('SceneName', data)- Start new scene with datathis.scene.switch('SceneName')- Switch to existing scene- Test seam:
window.__TEST__.commands.clickStartGame()- Navigate via UI
See references/transition-methods.md for detailed transition patterns.
Navigation Testing
Use test seam commands when available:
clickStartGame()- Navigate to gameclickPlayAgain()- Restart game