[Solved] Save custom font highscore

BaccardaBaccarda Member Posts: 122
edited September 2015 in Working with GS (PC)

Good afternoon everyone!
How can i save and load my highscore with custom font?
I've already set up my custom font and scoring system, but i just cant figure out how to save that attribute to a table and then load from table to attribute. I've seen a couple videos of tutorials, but they're not working on never versions of GS.
Could someone please make a small tutorial ? :(

Thanks in advance

Comments

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited September 2015

    If you already have your scoring system working with a game.attribute, there's no reason to save it to a table and then "load" it in to the score attribute. Just save the attribute, and load it at the beginning of the game.

    The custom font has nothing to do with the saving.

    Mental Donkey Games
    Website - Facebook - Twitter

  • BaccardaBaccarda Member Posts: 122

    But it seems to be a bit different than it was before, because in older versions i was able to save a key, but now it looks like it is different. :/

  • BaccardaBaccarda Member Posts: 122

    I just cant get it working because the highscore still stays the same as score, no matter if it is bigger or not. :/

  • SocksSocks London, UK.Member Posts: 12,822

    @NipaDidIt said:
    The custom font has nothing to do with the saving.

    +1

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    I rarely use the "save attribute" behavior, because I use tables for everything that need to be saved. But I think the behavior works the same way as it always has.

    Mental Donkey Games
    Website - Facebook - Twitter

  • BaccardaBaccarda Member Posts: 122

    This how i did it. is there something wrong?

  • BaccardaBaccarda Member Posts: 122

    Ooops, it was my fault, i did spot the mistake. :) SOLVED

Sign In or Register to comment.