Hello Guest

Author Topic: Auto scale: Height - scales width as well  (Read 4808 times)

Flink

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 49
    • View Profile
    • In The Pavilion
Auto scale: Height - scales width as well
« on: February 02, 2017, 02:31:41 pm »
Hi there,

A quick little question here about the camera override thing.
As I understand, I have a wildcard camera override set to auto-scale: fit height. So it will always keep the same height and potentially overflow on the sides, not scale. Is this the expected behavior?
Either way, now it seems like it matches the height but then scales the width to match the horizontal resolution on resolutions with a smaller width than the native resolution. And it seems to work in the editor, but on real hardware, it works well on iPhone5 but not on iPad2. This is not how it should behave right, or am I doing something wrong?

Thanks!
« Last Edit: February 02, 2017, 02:46:44 pm by Flink »

Flink

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 49
    • View Profile
    • In The Pavilion
Re: Auto scale: Height - scales width as well
« Reply #1 on: February 06, 2017, 06:35:21 am »
Re-compiled the tk2d camera code and seems to work now...

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Auto scale: Height - scales width as well
« Reply #2 on: February 06, 2017, 01:58:38 pm »
Hi there,

This doesnt make sense - you recompiled exactly the same code and it worked?