Hello Guest

Author Topic: Resolution Override?  (Read 6779 times)

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Resolution Override?
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Resolution Override?
« Reply #1 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


fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Resolution Override?
« Reply #2 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.