Page 1 of 1

Resolution independent GUI layer for mobile devices

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

Re: Resolution independent GUI layer for mobile devices

Posted: Mon Dec 31, 2012 9:45 am
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.

Re: Resolution independent GUI layer for mobile devices

Posted: Mon Dec 31, 2012 11:39 am
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!