Replies: 1 comment
-
Rotating the camera would be easiest, see: https://phaser.io/examples/v3/view/camera/rotate-camera or add everything to a base container and rotate that, this might incur extra position correction. You might have trouble with masking, they can operate in world space so won't move with camera/container. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If user's phone is portrait, the game rotate 90deg, and fill the screen (width < height). The user will rotate their phone.
If user's phone is landscape. the game show as normal.
Like this game:
Beta Was this translation helpful? Give feedback.
All reactions