How do you hide the 0 digits for custom font score?

dus1129dus1129 Member Posts: 2
edited March 2012 in Working with GS (Mac)
For example hiding the 0 in 0999 before the score hits 1000.
I was searching for a solution in the forum but I still couldn't get it to work...

---
If game.score is less than xxxx
--Change self.alpha to 0
Otherwise
--Change self.alpha to 1

xxxx needs to be what ever value the minimum that digit will be visible.
---

Where do you get self.alpha from? Do you create a rule and "change attribute" for each digit?
Yes I am totally new to this...

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Yes you need a rule in each digit, and self.color.alpha is the transparency attributes built in every actor
  • dus1129dus1129 Member Posts: 2
    edited March 2012
    Ok I added rule to the digit > dragged change attribute to it> but I don't see self.color.alpha as an option...
    (Sorry I know I am asking stupid questions)

    EDIT: NEVER MIND! I got it.
Sign In or Register to comment.