Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by UaSirideain · Aug 29, 2016 at 05:17 PM · resolution settingslauncherresolution dialog

Add smaller windowed resolutions to launcher?

I have my game's aspect ratio locked to 16:9 and the smallest resolution available in the launcher is 1280 x 720, even for Windowed Mode. There are some users who are reporting that it's taking up their whole screen.

Is there any way I can add a smaller resolution to the launcher?

I can set Resizable Window to true in player settings, but bizzarely, it doesn't keep the aspect ratio locked.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by hellopeople0004 · Aug 29, 2016 at 06:21 PM

Perhaps you could make it so you can change the resolution via Main Menu:

 var fullscreenvar : boolean = false;
 var resx : int = 1152;
 var resy : int = 648; 
 
 function SetRes () {
     Screen.SetResolution(resx, resy, fullscreenvar);
 }

or

 bool fullscreenvar = false;
 int resx = 1152;
 int resy = 648;
 
 void SetRes() {
     Screen.SetResolution(resx, resy, fullscreenvar);
 }

And then call that function when [x] happens? Untested, there may be obvious mistakes, I am not too strong at CS. Hope this helps, if that is not what you want just do @hellopeople0004 when you reply so I am notified :)

Comment
Add comment · Show 4 · 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 hellopeople0004 · Aug 29, 2016 at 06:30 PM 0
Share

Also on my blog I have a link to a button system that I made, it lets you make resolution buttons if you need a template.

avatar image UaSirideain · Aug 29, 2016 at 09:27 PM 0
Share

I could do this, but I was hoping there would be something in the build settings, so I can put out an update immediately.

It just seems a shame that the launcher does 90% of what I need it to, but can't seem to be able to go that last 10%.

Thanks for the help!

avatar image hellopeople0004 UaSirideain · Aug 29, 2016 at 10:46 PM 0
Share

I was actually messing around in Edit / Project Settings / Player and found that in "Resolution and Presentation" if I uncheck Default is Native Resolution, it lets me set a custom resolution. I haven't tested this, but it might work for you.

avatar image UaSirideain hellopeople0004 · Aug 29, 2016 at 11:16 PM 0
Share

Yeah, I can set it, but it doesn't actually add it to the launcher, and if you have a registry entry for the game already, it defaults to that ins$$anonymous$$d.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Hiding resolution dialog with commandline flag 1 Answer

How to make the game resolution a square 0 Answers

Resolution Dialog no maximal screen res when window mode checked 1 Answer

Start with settings from updater 0 Answers

Available resolutions on OS X 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