Problem getting Custom Font to display saved High Score

blisterblister Member Posts: 13
edited February 2012 in Working with GS (Mac)
I'm trying to use a custom font to display the high score (saved high score). I can get it to display the score when the level is completed or has ended, but it will only show it one time and does not save. I've got a display text that displays the high score below the custom font one, so i can see if it is working. And the display Text is working perfectly, saves perfectly and loads the saved score perfectly.

My Custom High score like I said will only display the high score one time and the changes back to all zero's. I do not have any type of reset for the custom font high score. I can not for the life of me make it display the score like the display text one below it does (consistantly).

Does anyone know how to get this to work?

Comments

  • harlin36harlin36 Member Posts: 101
    I don't know if this is the best way to do it but I made a whole new set of numbers and named them .png2 instead of .png and then put a save attribute in each of the numbers.
    Hope this helps.
  • blisterblister Member Posts: 13
    Thanks, I'll give it a go and see what happens....

    In the mean time does anyone else have another solution, for getting a custom font to display save/loaded high score?
  • blisterblister Member Posts: 13
    The problem
    I'm facing is I want to display the saved high score with the custom font as well. I have not got it to display the "saved high score" with my custom font. I did add a display text actor below
    it on my scene to test if the score was truly saving and loading and all is working perfectly with that. Just not with the custom font, it just displays all zero's.

    I did create an entire separate custom font and named it "Bestscore", but I'm pulling the images from the regular score .pngs that I created. Im wondering if I should duplicate and rename the images to something like bs1.png and so on?

    Anyway, I've attached a screen shot (see below) of what I have set up as far as the high score custom font is concerned. And I did change all the divisors from 10 to 10000000 as I did for the regular score.

    I would attach a screen shot but nothing is working to get it in here.

    Anyway, if some one has a step by step or can write it out that would help a ton.
    Thanks in advanced.
  • blisterblister Member Posts: 13
    SOLVED.....

    Turns out I had one of my scripts set to score where it needed to be Highscore.

    glad that's over!!!! Thanks for the help.
Sign In or Register to comment.