I have a camera that follows the player using cameras.main.startFollow(this.leviathan);
I’ve set mode: Phaser.Scale.RESIZE
The game appears to scale correctly when I resize the browser window, but the behavior of the camera follow breaks.
Something else worth noting is that if I kill the app, resize the browser, and reload it, then everything works just fine. It’s like I need to do whatever is happening under the hood of Phaser.Scale.RESIZE
every time the browser changes size.
Any tips here? Haven’t had any success searching this forum or in the API docs. Thanks very much!