phaser-scene

Installation
SKILL.md

Phaser 4 Scene Creation

Every Phaser 4 game is composed of Scene classes. Each scene is a self-contained unit with its own lifecycle, assets, and game objects.

Scene Class Pattern

The canonical pattern for every scene:

import Phaser from 'phaser';

export class MyScene extends Phaser.Scene {
  constructor() {
    super({ key: 'MyScene' });  // key MUST be unique across all scenes
  }
Installs
15
GitHub Stars
9
First Seen
Apr 12, 2026
phaser-scene — yakoub-ai/phaser4-gamedev