Show/Hide Level Counter & Score based on Screen Size.

njdbusinessnjdbusiness Member Posts: 4
edited July 2013 in Working with GS (Mac)
Hello.

I need to show the score and level counter when the iPhone is in the iPhone 4/4s resolution.

If the screen size is that of the iPhone 5, I need the score and level counter to be hidden.

Is there any way at all to do this in game salad? !

Any help appreciated :)

Comments

  • TivitraTivitra Member Posts: 32
    Think this will work:

    When all conditions are valid
    if game.Screen.Size.Width = 960
    if game.Screen.Size.Height = 640

    do
    Change attribute
    self.color.alpha to 1

    otherwise
    change attribute
    self.color.alpha to 0
  • njdbusinessnjdbusiness Member Posts: 4
    Thanks! Will try that.
Sign In or Register to comment.