How do I change the orientation of my game to portrait?
Hello! I've been working on a game and while making it decided to set it to portrait proportions and orientation so it's perfect for a smartphone instead of landscape.
My canvas is set to Screen Space - Overlay and the game window has free aspect selected. I've tried changing the game window to various options including 16:10 portrait and 3:2 portrait, but doing so makes the entire game from images to text not as sharp as it is in free aspect mode. What should I do?
what do you mean by not as sharp as it is in free aspect mode ?. As for your question, if you want your game to be in portrait mode, then you need to design it in portrait and set the Device Orientation From File - > Build Settings -> Player Settings -> Resolution and Presentation to Auto Rotation and tick first 2 checkboxes.
Thanks for your reply! What I mean by the game not being as sharp is that the text fields get blurry when I switch from free aspect, here is a picture:
I don't think this is a problem, I've experienced this first hand that quality of images looks bad in editor, but the actual build have as sharp image as you see here in free aspect mode. So try running a build and check the quality.
it mostly depends on how you've setup your canvas and canvas scaler. ScreenSpaceOverlay is just fine while the scaler should best use resolution scale with a reference resolution of your choice
Your answer
Follow this Question
Related Questions
2K screen resolution problem 0 Answers
unity 2D limb solvers in wrong points 0 Answers
How to Remove the black bar at my game window? 0 Answers
How to move character with UI buttons? 0 Answers
WheelJoint2D rotates parent object 1 Answer