scale-and-responsive
CommunityScale and center Phaser 4 games responsively.
AuthorRaphe-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Phaser 4 games must adapt to different screen sizes and orientations without content cropping, awkward spacing, or UI misalignment.
Core Features & Use Cases
- ScaleManager-based responsive scaling with multiple modes (FIT, ENVELOP, RESIZE) to adapt to parent size and device orientation.
- Auto-centering, fullscreen support, and orientation handling to provide a polished experience across desktop and mobile.
- Use case: deploy a single Phaser 4 game that scales cleanly from small mobile viewports to large desktop monitors while preserving aspect ratio and centered UI.
Quick Start
Create a Phaser 4 config with scale mode and autoCenter to make the canvas resize and center within its parent.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scale-and-responsive Download link: https://github.com/Raphe-dev/phaser-cozy-mmo/archive/main.zip#scale-and-responsive Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.