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!
Resolution independent GUI layer for mobile devices
-
- Gnoblar
- Posts: 15
- Joined: Thu Nov 22, 2012 4:56 pm
-
- Ogre Magi
- Posts: 1235
- Joined: Fri Oct 26, 2007 12:36 am
- Location: Mountain View, CA
- x 10
Re: Resolution independent GUI layer for mobile devices
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.

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.
-
- Gnoblar
- Posts: 15
- Joined: Thu Nov 22, 2012 4:56 pm
Re: Resolution independent GUI layer for mobile devices
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!
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!