phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Snapshot with camera zoom

Open rexrainbow opened this issue 3 years ago • 0 comments

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.

rexrainbow avatar Jul 27 '22 09:07 rexrainbow