GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Score keeping methods

poopdecksweeperpoopdecksweeper Posts: 180Member
edited January 2012 in Working with GS (Mac)
Hey guys, I was watching TSB's scorekeeping interpolation video to brush up on my scorekeeping skills and I wanted to know if anyone knew how to make the zero actors that are already on the scene invisible until being used.

So basically, if the placeholding zero isn't being used it will remain invisible, until the score reaches high enough to turn the next number visible.

Comments

  • App SurgeApp Surge Posts: 651Member
    In the actor that goes from 10-99 say when game.score is less than 10 change attribute self.color.alpha to 0 otherwise change alpha to 1
    Then in the actor that goes from 100-999 say when game.score is less than 100 change attribute self.color.alpha to 0 otherwise change alpha to 1
    In the actor that goes from 1000 to 9999 say when game.score is less than 1000 change attribute self.color.alpha to 0 otherwise change alpha to 1

    You get the point?

    Good luck!
  • POMPOM Posts: 2,599Member
    edited January 2012
    beaten by red sky ;)
    Roy.
  • poopdecksweeperpoopdecksweeper Posts: 180Member
    Awesome. Thanks for help guys.
This discussion has been closed.