What problem does it solve? Phaser games often break visually when the browser window resizes, the device rotates, or the canvas parent lacks dimensions. This Skill provides the ScaleManager knowledge needed to make a Phaser game scale correctly across screen sizes without distorted aspect ratios, misaligned input coordinates, or failed fullscreen requests. ## Core Features & Use Cases - Scale Mode Configuration: Apply FIT, RESIZE, ENVELOP, EXPAND, and other scale modes with auto-centering, zoom, snap values, and min/max constraints through the game config. - Runtime Resize Handling: Subscribe to resize and orientationchange events to reposition cameras and UI elements when the canvas dimensions change. - Fullscreen and Orientation Control: Implement fullscreen toggles triggered from pointerup gestures and lock or respond to device orientation on mobile. - Use Case: You are building a pixel-art game at 320x240 that must fill any browser window crisply. Use FIT mode with MAX_ZOOM and pixelArt enabled to get integer-scaled rendering centered in the parent container. ## Quick Start Configure my Phaser game to scale to fit its parent container while preserving aspect ratio and centering the canvas.