scale-and-responsive

Installation
SKILL.md

Scale and Responsive Design

How to use the ScaleManager for scaling, centering, fullscreen, orientation handling, and responsive resize in Phaser 4.

Key source paths: src/scale/ScaleManager.js, src/scale/const/, src/scale/events/, src/core/typedefs/ScaleConfig.js Related skills: ../game-setup-and-config/SKILL.md

Quick Start

Scale-to-fit with centering -- the most common setup for responsive games:

Related skills

More from phaserjs/phaser

Installs
86
Repository
phaserjs/phaser
GitHub Stars
39.6K
First Seen
Apr 11, 2026