Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: leegod on May 03, 2013, 06:50:21 PM

Title: How deal Android's various screen resolution problem?
Post by: leegod on May 03, 2013, 06:50:21 PM
Hi.

So for developing android game, screen resolution is very annoying problem even if start develop.

I use LG Optimus G, its resolution is 768 * 1280, most recent ones(Galaxy S4, etc) is 1920 *1080 (Full HD),

whereas olders are 480 * 800, even lowers.

So how deal this problem?

At unity, after switch platform to Android, at game screen, there is some resolution options, but my monitor is 2560 * 1080, which even can't properly show 800 * 1280 portrait because of lack of vertical resolution.

Anyway, even if I make android game's GUI based on 480 * 800 at unity, how can I know it shows exactly same ratio and position I intended at other resolution android devices?

How deal this problem?

Thanks.
Title: Re: How deal Android's various screen resolution problem?
Post by: dlewis on May 03, 2013, 08:09:46 PM
The 3 main things are UIAnchor, UIStretch and SD/HD/Other atlases.
Title: Re: How deal Android's various screen resolution problem?
Post by: leegod on May 03, 2013, 08:25:44 PM
The 3 main things are UIAnchor, UIStretch and SD/HD/Other atlases.

hi,

if that for ngui?  Is there a tutorial or example source implemented it?

What if not using ngui?
Title: Re: How deal Android's various screen resolution problem?
Post by: ArenMook on May 03, 2013, 09:42:51 PM
There is a video tutorial on how to deal with various screen sizes.