2D Toolkit Forum

2D Toolkit => Support => Topic started by: fsadeq on February 22, 2012, 05:40:43 pm

Title: Resolution Override?
Post by: fsadeq on February 22, 2012, 05:40:43 pm
Does anyone know how the Resolution Override works for the TK2DCamera? I'm testing out a build and it looks perfect on an iPhone 4, but doesn't scale down on the 3GS. I'm assuming this feature controls that?
Title: Re: Resolution Override?
Post by: unikronsoftware on February 22, 2012, 06:07:53 pm
Sorry for the lack of documentation, that will be the next focus after 1.57 is done. How it works is you tell it to scale down on certain resolutions rather than keeping it pixel perfect.

Eg. if your native resolution is 960x640, and you would like to downscale for 480x320, simply add an entry in "Resolution Override" with width = 480, height = 320, scale = 0.5

Title: Re: Resolution Override?
Post by: fsadeq on February 22, 2012, 06:43:59 pm
Thanks! I read the comments in the source and was able to figure it out. Real cool feature.