Topic was automatically imported from the old Question2Answer platform.
Asked By
RiqueDiaz
Hi! I’am exporting a game to apk and i made it the size of a android in portrait mode, enable the portrait image in the exportation and let the expand 2d enable on the configurations, but when i open the game (also my friends) it remains in the landscape screen. Could anyone help me?
Written Instructions:
Click on “Project” at the top left dropdown menu.
Go to Project Settings.
On the left side, scroll down to Display.
Click on Window.
Under Tablet Driver, switch the width and height.
E.g. if width is 1024 and height is 600,
change width to 600 and height to 1024 so that the game window is a tall vertical portrait rectangle.
Under “Handheld”, change Orientation to Portrait.
This should work.
If it doesn’t, then, another step you could try is:
Project > Export > Presets > Android (add it if you haven’t arleady),
Options tab > scroll down to Permissions,
Scroll all the way down to “Set Orientation”.