Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by kadamati · Mar 26, 2014 at 09:50 AM · screen resolutionaspectratio

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):

  1. In the Player Settings (Ctrl+Shift+B), I set the screen width = 480, Height = 800.

  2. In the Supported Aspect Ratio section, I chose Others.

  3. From the upper-left corner of the game preview window, I created a new resolution (480x800) and a new aspect ratio (6:10).

alt text

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.

:-(

screensize01.jpg (159.2 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

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

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kadamati · Mar 26, 2014 at 08:47 PM 0
Share

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.

alt text

wrongoutputwindow.jpg (138.7 kB)
avatar image RedDevil · Mar 27, 2014 at 07:57 AM 0
Share

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

avatar image
1

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges