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
0
Question by Ranger-Ori · Nov 26, 2013 at 07:13 AM · androidresolutionngui

Resolution Question (Android)

Hi, I'm working with the NGUI kit, and I wanted to know.

Let's assume that I build my game with the nexus 4 resolution which is 1280*768. The ratio is 16:10.

What will happen when this game will be installed on smaller devices? will it shrink? will some of the screen would not be displayed?

I also use the NGUI anchor set up, if this change any of your answers...

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

Answer by paulygons · Nov 26, 2013 at 07:21 AM

I love UIAnchors and UIStretch. The best way I've found to test this is to change the game window setting from "free aspect", to the various resolutions of your target platform. Also, free aspect is a quick way to get an idea of how NGUI will handle things as I manually stretch the game window to simulate tall and thin or wide and short.

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 Ranger-Ori · Nov 26, 2013 at 07:33 AM 0
Share

Can you also comment on my question? what will happen if this game runs at a 5:4 device?

avatar image paulygons · Nov 26, 2013 at 05:12 PM 0
Share

Apparently I don't understand a nuance of your question: "What will happen when this game will be installed on smaller devices?"

Have you tried using the various aspect ratios and resolution settings of the "Game Window" (top left drop down bar) to see exactly what will happen?

avatar image Ranger-Ori · Nov 26, 2013 at 05:28 PM 0
Share

yes but the Unity Editor doesn't give me a real visual of what will happen. I actually install the game in my Nexus 4, and the scale is quite different, some things that are off screen in Unity Editor or scaled perfectly on my device and vice versa..

avatar image paulygons · Nov 26, 2013 at 05:37 PM 0
Share

You got me, my experience has been completely WYSIWYG. The game window faithfully depicts what I see when I install on every platform I've tried.

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

16 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

Related Questions

Android hortographic camera cropping 1 Answer

Android 2D game multi-resolution 0 Answers

Android OS message on app start. 2 Answers

NGUI UIInput issue with some Android devices (Virtual keyboard is OK, but no letters appears on textfield) 0 Answers

[NGUI] Sprites breaking on switching from Android 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