← Files Design Game StudioARCHIVED FILE

references/phaser.md

954 Bytes · Nov 14, 2026 · 01:10 UTC

↓ Download file

# Phaser 2D development reference

Official documentation: https://www.phaser.io/oss/docs/ and https://www.phaser.io/oss/docs/phaser/getting-started/installation

Current official docs cover Phaser 4 and highlight the difference from Phaser 3. Use versioned API reference for actual installed package. Phaser is a 2D framework; do not claim native built-in 3D renderer/physics.

Recommended implementation order: create verified project scaffold -> Boot/Menu scene -> Player input and state -> Physics/collisions -> Objective and feedback -> Win/lose and restart -> Touch and responsive sizes if applicable -> Tests.

Build with project scripts after checking package.json and actual dependencies. Phaser Arcade Physics configuration, scene lifecycle and texture generation require version-specific verification. Avoid copying old Arcade API without checking. Use a browser to verify key events, collisions, console errors and visibility/focus behavior.

SHA-256: 36c3e7ec04969f2e1fe5fb0f23519f9a8c37f8628c2fee298c1a7ac29d0ee515