- Home /
Custom resolution and aspect ratio
Hi, I want to output my game in a window with custom aspect ratio or resolution. For example, I want to make the game-output-window vertical (6:10). What should I do?
I have already done the following (please match them with the screenshot attached):
In the Player Settings (Ctrl+Shift+B), I set the screen width = 480, Height = 800.
In the Supported Aspect Ratio section, I chose Others.
From the upper-left corner of the game preview window, I created a new resolution (480x800) and a new aspect ratio (6:10).
But still, after building the game, the window is neither in 6:10 aspect ratio, nor in 480x800 resolution. As a result, the view is not vertical, and unnecessary things from the scene which I don't want to show in the game are getting exposed. Is there something to do with the camera? I have 10 levels and each of them have different cameras for their own. Now, how can I set up the resolution?
Please Help.
:-(
Answer by RedDevil · Mar 26, 2014 at 10:00 AM
The player settings are only seen after you complile your game. For the game view to work with an unknown aspect ratio you must only type the resolution so instead of aspect ratio select Fixed Resoltion and put in your width and height values
Hi RedDevil, according to your suggestion, I created and selected a Fixed Resolution (480x800), and also wrote it in the default screen size in the player settings. But nothing new happened. It's not working as expected.
try just reduce the width number from 800 until you are happy with the result and do 480 x THENU$$anonymous$$BER on the player settings when you compile
Answer by FredMastro · Jan 21, 2015 at 11:04 AM
Use 9:16 and choose one of the resolutions from this list: http://en.wikipedia.org/wiki/16:9 I'm doing a portrait game as well. I used 540x960
Your answer
Follow this Question
Related Questions
Aspect Ratio ( supporting different screen resolutions ) 1 Answer
Automatically adjusting the camera view 0 Answers
Screen Resolution troubles 0 Answers
Scale Everything In Game to Fit all screen Sizes 1 Answer
Android screen size 0 Answers