Saving Scores From Previous Plays

GameCre8torGameCre8tor Member Posts: 49
edited November -1 in Working with GS (Mac)
Hi guys,

I was wondering whether any of you guys knew how to make a high scores page that can retrieve the scores from previous plays of the game.

It sounds quite complicated, and am not sure if it is possible with GameSalad at this time.

Any help?
GameCre8tor

Comments

  • hrsmediahrsmedia Member Posts: 522
    Yea you can just create 2 integer attributes, currentScore and highScore , then make a rule that says if currentScore is greater than highScore change attribute highScore to currentScore. Then add a save attribute and load attribute.
    Hope this helps
  • peachpellenpeachpellen Member Posts: 977
    In case you need it simpler;



    :)
  • GameCre8torGameCre8tor Member Posts: 49
    Thank you hrsmedia and peachpellen for your help!
  • peachpellenpeachpellen Member Posts: 977
    No worries, any problems, post again - I'm not as great with this stuff as many here are, but scores I can do :)
  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    Does this save your highscore if you close the game down?
  • quantumsheepquantumsheep Member Posts: 8,188
    Yes, yes it does :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    I pleasantly discovered that after I implemented this :)
  • DimensionGamesDimensionGames PRO Posts: 993
    I currently use this system but im wondering would it be possible to make like a sort of table of highscores im guessing it would just require a lot of rules based round these ones?

    Cheers

    Possesive Gaming
  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    PossesiveGaming said:
    I currently use this system but im wondering would it be possible to make like a sort of table of highscores im guessing it would just require a lot of rules based round these ones?

    Cheers

    Possesive Gaming

    Yeah I'm guessing, with additional attributes it can be done for sure. Like lowest score? Ohh or maybe you could allow players to enter their name for the game hmm....
  • bronzebronze Member Posts: 22
    Hi peachpellen.
    I followed your instructions about creating a highest score page when my game ends. I have two integers - game score - high score and a change/ save attribute etc...

    It sort of works except. When I have a highest score of say, 10 and I score zero, it saves the highest score as per instructions. BUT when I score less than 10, lets say 5 for instance. The highest score changes to 5 as does the Game score, and doesn't save as 10....?!

    I've checked everything over and over and all looks correct.....I'm starting to pull my hair out!

    Please help me from going bald...

    Regards,

    Bronze
Sign In or Register to comment.