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 » Sun Dec 23, 2012 2:08 pm

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!
0 x

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

Re: Resolution independent GUI layer for mobile devices

Post by DanielSefton » Mon Dec 31, 2012 9:45 am

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

cww
Gnoblar
Posts: 15
Joined: Thu Nov 22, 2012 4:56 pm

Re: Resolution independent GUI layer for mobile devices

Post by cww » Mon Dec 31, 2012 11:39 am

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!
0 x

Post Reply