Personalized Score?

CabacoCabaco Member Posts: 414
edited November -1 in Working with GS (Mac)
How can I get my very own font scores into my game?

Comments

  • b2iscoolb2iscool Member Posts: 135
    You name all your numbers 0.png 1.png etc then you make an actor inside the actor make an attribute called divide and make it 10 put the 0 as its image the make a constrain attribute and say constrain image to
    floor((game.Score%self.divide)/(self.divide/10))..".png" the first "math part is extracting the number of your score the second is telling it to add the .png so it can find the image then you drag how many you want on your screen so if you had 3 you would leave the first one alone go into the second change divide to 100 go into the third which would be the 100 place and change it to 1000 if you want more you just keep changing the divide attribute in each one if you get stuck check out Tshirt's vid here: http://www.youtube.com/user/GameSaladCookbook#p/u/56/w6EELF0nNuw
  • DimensionGamesDimensionGames PRO Posts: 993
    One thread will do. ;)



    Check all the tutorials out :)

    Cheers.
  • CabacoCabaco Member Posts: 414
    Oh thank you very much!
Sign In or Register to comment.