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…

1 Answer

1

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.

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

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?

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..

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.