Need HELP can not get Custom Font to display saved highscore!!!!!!

blisterblister Member Posts: 13
edited February 2012 in Working with GS (Mac)
I'm having a hell of a time getting my saved highscore to show up as my custom font. I have a custom font for the actual score and it's working perfectlty.The highscore is a copy of the font I'm using for the actual score.

I have a display Text behavior on the same scene as the highscore, because I wanted to make sure that it was saving and loading the highscore correctly. The Display Text behavior is working perfectly showing the highscore, saving and loading it on the device as well.

I just can not get the custom font to show the saved or loaded Highscore, just shows all zeros.

I have a screen shot of what I've got set up, but I can not get it in this post for some reason...

Anyone have a solution for this that works for getting a custom font to display the highscore?

Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    edited February 2012
    I used custom font in this demo for a timer, should work the same for score as well

    http://www.4shared.com/zip/ITShV-yB/Countdown_Demo.html?


    Visit my Site -> GLGCREATIONS
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    edited February 2012
    Go into the highscore numbers and in the script where it says "game.score" change it to "game.highscore" and also make sure they are set to display the right numbers, as in the div attribute 10, 100, 1000, 10000 etc.
  • blisterblister Member Posts: 13
    SlickZero!!!!

    Dude you nailed it! I had one of my scripts still set to score where it needed to be Highscore, changed it and now it's working perfect. Glad you mentioned that cause I would have kept over looking it!

    Thanks a million!!
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    My pleasure. Glad you got it working :)
Sign In or Register to comment.