You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phaser Version: Beta 21, although this started in the version that added post effects.
Operating system: Windows
Browser: Chrome
Description
With my game, I have it fill the entire screen. Upon resizing the window, if the screen is large then I set the width to 1088 and height to 512 and scale to fit. With camera post effects, it seems to ignore the width and height I set the game size to.
Example Test Code
Very rough example I will update later if you can't figure out the root issue
this.camera.postFX.addBarrel(0.9);
Upon resizing window and it is considered a large size:
Version
Description
With my game, I have it fill the entire screen. Upon resizing the window, if the screen is large then I set the width to 1088 and height to 512 and scale to fit. With camera post effects, it seems to ignore the width and height I set the game size to.
Example Test Code
Very rough example I will update later if you can't figure out the root issue
this.camera.postFX.addBarrel(0.9);
Upon resizing window and it is considered a large size:
this.game.scale.autoCenter = Phaser.Scale.CENTER_BOTH;
this.game.scale.scaleMode = Phaser.Scale.FIT;
this.game.scale.setGameSize(1088, 512);
this.game.scale.refresh();
This seems to happen when an effect is on the camera.
![Camera-PostFX-Bug](https://user-images.githubusercontent.com/51373789/227654471-77c04dad-3027-4bc0-9a12-c02f06c7d227.png)
Additional Information
I am assuming there is some sort of width or height component to the effects being applied.
The text was updated successfully, but these errors were encountered: