[Solved] Save custom font highscore
Baccarda
Member Posts: 122
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
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
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.
I just cant get it working because the highscore still stays the same as score, no matter if it is bigger or not.
+1
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
This how i did it. is there something wrong?
Ooops, it was my fault, i did spot the mistake. SOLVED