Custom Fonts Question

harlin36harlin36 Member Posts: 101
edited January 2012 in Working with GS (Mac)
Hi all,

I was wondering if it's possible to make custom score numbers only appear when they are needed ? instead of having a big row of zeroes.

Cheers.

Comments

  • SAZ_1SAZ_1 Member Posts: 397
    probably yes... the only way i can think of (and it might be flawed, as i haven't tried it) would be to create a specific attribute for the previous digit then in the next one tell its alpha to be zero until previous digit has surpassed number 9, i think you'd need to save the attribute at that point and then load it every time the game starts... it should work i think... i might try this but later on .. let me know how it goes for you!
  • BreckenBrecken Member Posts: 143
    Sure!:) Thats possible!

    Let say have four zeroes: 0000. And you get one point each time you score. The first 0 you have no rule. But in the second one, you can say: if attribute: game.Score > 9. Change attribute self.Aplha to 1. Otherwise 0. I think this works. And just keep on. the next one: score is greater than 99 and so on!
Sign In or Register to comment.