creating a high score

suntzumobilesuntzumobile Member Posts: 34
edited November -1 in Working with GS (Mac)
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

  • butterbeanbutterbean Member Posts: 4,315
    This has been covered but:

    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!
Sign In or Register to comment.