sebashwa / phaser3-plugin-isometric

Feature-packed axonometric plugin for Phaser 3 which stays true to the Phaser API.
https://sebashwa.github.io/phaser3-plugin-isometric
MIT License
172 stars 36 forks source link

Projector with mobile screens #14

Open Biratus opened 5 years ago

Biratus commented 5 years ago

Hi,

I noticed something while trying to make the plugin work on a mobile device. The Projector.js class uses Scene.sys.game.config (l. 79) to get the width and height of the game. It would be more accurate if the projector used Scene.sys.game.canvas.

However I think this issue only appears in a browser in debug mode. It should work fine on the actual device.