Resolution independent GUI layer for mobile devices

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
cww
Gnoblar
Posts: 15
Joined: Thu Nov 22, 2012 4:56 pm

Resolution independent GUI layer for mobile devices

Post by cww »

As SdkTray uses metrics_mode pixel, it doesn't scale automatically and doesn't work well across different mobile devices with different resolution and dpi. I tried changing the overlay file to use relative mode, but it doesn't work correctly. I managed to came up with a quick hack to load different components with different size based on different screen resolution, but the solution is not clean and I hope to find a better solution. Before I spend too much to to re-invent the wheel, may I ask if any one here is aware of GUI layer that is screen resolution independent?

Thanks!
User avatar
DanielSefton
Ogre Magi
Posts: 1235
Joined: Fri Oct 26, 2007 12:36 am
Location: Mountain View, CA
x 10
Contact:

Re: Resolution independent GUI layer for mobile devices

Post by DanielSefton »

UIKit :)

Also: Definitely don't use SdkTray for your GUI.

Some devs have had success with Gorilla by using a different texture atlas for retina/non-retina.
cww
Gnoblar
Posts: 15
Joined: Thu Nov 22, 2012 4:56 pm

Re: Resolution independent GUI layer for mobile devices

Post by cww »

Hi DanielSefton,

Thanks for the recommendation. UIKit is iOS only, so I will avoid as it can't work on Android. I will definitely check out Gorilla since others have reported success.

Cheers!
Post Reply