phaser
phaser copied to clipboard
Snapshot with camera zoom
Version
- Phaser Version: 3.55.2, 3.60.0-beta.10
- Operating system: win10
- Browser: chrome, firefox
Description
Here is the test code
- Disable line 15: No camera zoom. Snapshot area works well.
- Enable line 15: Set camera zoom to
0.75. Snapshot area is shifted and scaled.
I guess that parameters x, y, with, height are based on screen coordinate, not world coordinate of a camera.