Author Topic: Iphones scaling?  (Read 6597 times)

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Iphones scaling?
« on: January 29, 2013, 01:44:11 PM »
Hi there, I was wandering how you can scale from iphone5 all the way down to 3gs without losing the proper placement of the ui? This is something that has always got me stuck :D

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Iphones scaling?
« Reply #1 on: January 29, 2013, 05:34:47 PM »
Set UIRoot's scaling style to FixedSize or FixedSizeOnMobiles.

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Re: Iphones scaling?
« Reply #2 on: January 30, 2013, 04:42:48 AM »
So after i have done that should i design the ui for the iphone 5 then NGUI will scale it to fit the other devices?

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Re: Iphones scaling?
« Reply #3 on: January 30, 2013, 04:59:28 AM »
What about Automatic size and manual height how would i do it with those?

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Re: Iphones scaling?
« Reply #4 on: January 30, 2013, 11:03:10 AM »
Never mind found a solution.

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
Re: Iphones scaling?
« Reply #5 on: January 30, 2013, 11:23:03 AM »
Never mind found a solution.

Explain yourself :D

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Re: Iphones scaling?
« Reply #6 on: January 31, 2013, 08:25:55 AM »
We decided to check which iphone model was currently active, if it was the 5 then we would swap out a loading screen to fit it's dodgy ratio else swap back out our default as the scaling happens.