Author Topic: How deal Android's various screen resolution problem?  (Read 5276 times)

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
How deal Android's various screen resolution problem?
« 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.

dlewis

  • Guest
Re: How deal Android's various screen resolution problem?
« Reply #1 on: May 03, 2013, 08:09:46 PM »
The 3 main things are UIAnchor, UIStretch and SD/HD/Other atlases.

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
Re: How deal Android's various screen resolution problem?
« Reply #2 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How deal Android's various screen resolution problem?
« Reply #3 on: May 03, 2013, 09:42:51 PM »
There is a video tutorial on how to deal with various screen sizes.