creating a high score
suntzumobile
Member Posts: 34
Hi Salad creators! Im working on a simple touch game and need to create a high score and one you can save can anyone out there help? I would appreciate it, its been driving me crazy
Comments
Create attribute game.score and keep track of score via that global attribute
Then create another global attribute game.highscore and place this rule:
Display game.highscore
Rule: when attribute game.score is > or = to game.high score
Constrain attribute: game.highscore to game.score
Hope this helps!