How do i set up High Score Save

suntzumobilesuntzumobile Member Posts: 34
edited November -1 in Working with GS (Mac)
Hi everyone just wondering how to set up the high score game save. Also will this save it after the game is shut down.

Thanks,
Don

Comments

  • hrsmediahrsmedia Member Posts: 522
    A simple way to do it is create 2 integer attributes, game.Score and game.HiScore

    Create a rule if game.Score is > (greater than) game.HiScore then change attribute game.HiScore to game.Score

    Then add save attribute game.HiScore and any key you want.
    At your title screen or splash screen, add a load attribute game.HiScore

    Hope this helps.
Sign In or Register to comment.