How to display the current score and high score at the same time and then save the high score
Ceoready_45
Member, PRO Posts: 18
Kind of like the scoring system in the game " Don't you hit the spike ". Thank you so much in advance. I know how to save the high score and load it but I can't get it to work the way I want.
Comments
Load Attribute key highscore game.highScore
Display Text game.score.." "..game.highScore
When game.score > game.highScore
Save Attribute game.highScore key highScore
Change Attribute game.highScore to game.score
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang thank you so much. Got it!