portrait support ?
Closed this issue · 6 comments
Does the following work, orientation is a Phaser thing so it should be as easy as making a couple Phaser calls, I haven't tried portrait yet so I'm not 100% ? src/states/boot.ts#L34-L36
I see , thanks.
But should the caculating code here on
https://github.com/rroylance/phaser-npm-webpack-typescript-starter-project/blob/master/scripts/setupGameSize.js#L72-L76
be different ?
Oh ya... You're totally right. There's a few places that calculate and use width and height. I'll take a look into it and see what I can do. Thanks.
Any update on this? I've been trying to set up the game size with
npm run setupGameSize -- --width 1120 --height 1920 --aspect-ratio 1.71
This does not work. Shouldn't all calculations be based on the parameters provided, as opposed to having fixed values?
Not yet. Sorry. I've had no time lately to put towards this.