Skip to content

Phaser 3 scene-based game development with Arcade and Matter physics, tilemaps, animations, and input handling.

CCM score
58 of 100
skills.sh installs
1.1K
GitHub stars
37
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scene lifecycle, sprites, Arcade and Matter physics, tilemaps, animations, input, and game architecture
  • Includes config templates, scene transition patterns, physics groups, and keyboard and pointer input examples
  • Guides physics system choice: Arcade for platformers and shooters, Matter for realistic collisions, none for menus
  • Designed for developers building 2D browser games who need a scene-first structure

Install

$ npx -y skills add chongdashu/phaserjs-tinyswords --skill phaser-gamedev -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Phaser Game Development

Build fast, polished 2D browser games using Phaser 3's scene-based architecture and physics systems.

Philosophy: Games as Living Systems

Games are not static UIs—they are dynamic systems where entities interact, state evolves, and player input drives everything. Before writing code, think architecturally.

Before building, ask:

  • What scenes does this game need? (Boot, Menu, Game, Pause, GameOver)
  • What entities exist and how do they interact?
  • What state must persist across scenes?
  • What physics model fits? (Arcade for speed, Matter for realism)
  • What input methods will players use?

Core principles:

  1. Scene-First Architecture: Structure games around scenes, not global state
  2. Composition Over Inheritance: Build entities from game objects and components
  3. Physics-Aware Design: Choose physics system before coding collisions
  4. Asset Pipeline Discipline: Preload everything, reference by key
  5. Frame-Rate Independence: Use delta time, not frame counting

Game Configuration

Every Phaser game starts with a configuration object.

Minimal Configuration

Details

Repository
github.com/chongdashu/phaserjs-tinyswords
Categories
Game Development, Frontend & UI Code

Similar to Phaser Gamedev

More Game Development