Adding to high score history

ClownmrminghuiClownmrminghui Member Posts: 18
edited October 2012 in Working with GS (Mac)
Hello GS Community,

I am facing an issue here which I hope to seek some assistance from you guys.

Currently I am figuring out how to add my current score to my score history. For example,

The first time I played the game, I caught 10 balls
This time, I caught 3 balls
When I go to my achievement page, I will see " Total balls caught : 13"

How do I actually stack those numbers?

Thanks in advance

Comments

  • hotMagichotMagic Member, PRO Posts: 266
    Just make a table value (because it's faster and easier to save).

    When you finish playing, whatever event that is, whether leaving a level or your score screen, make the table row1 column 1 = table row 1 column 1 +current score

    You do that with the expression editor, by using the Change Table Value command.

    Make sure any time you change a table value you want to keep, do a quick Save table command right after it.

    Just keep saving in that one cell.

    The thing I just outlined will save every time you play the game, so if you play it a few times in a session, it will keep adding up.

    You wont need to Load on startup, it will be there from the save.
  • ClownmrminghuiClownmrminghui Member Posts: 18
    Hello hotMagic,

    Thanks for the assistance. Any tutorial I can refer to for that?
Sign In or Register to comment.