Closed
Description
Version
- Phaser Version: phaser sandbox
- Operating system: iOS (16)
- Browser: webkit, safari, chrome
Description
Using Phaser.Scale.RESIZE, for a pixelart game, that fills the browser window size, and scales to a fixed game size. (in this case, 144 by 256).
On PC and android, the code is fine. the gameContainer group is centered in the screen.
On iOS, the gameContainer is pushed down by a margin, and the pixel aspect ratio is squashed vertically slightly. the code doesn't add a margin.
Example Test Code
https://phaser.io/sandbox/A3KSEgq7
Additional Information
tested on iPhone 12