phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
36.96k stars 7.09k forks source link

Issue with resolution > 1 + Camera.zoom !== 1 input detection #4010

Closed photonstorm closed 5 years ago

photonstorm commented 6 years ago

A known side-effect of 3.12 changes can be found when getting game resolution to a value other than 1 and setting the Camera zoom to a value other than 1, input detection will be missed.

To be addressed as priority, along with recoding the transform system to avoid errors like this in the future (re: Containers)

alexeymolchan commented 6 years ago

also i have problems on CANVAS with dynamic tilemaps / particleEmitters with resolution > 1 or camera zoom !== 1

photonstorm commented 5 years ago

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.