how can I creat a high score?

robert123

  • Posts: 6
I  need help, I want that when my player dies the score is seen as high score and when i want to play again it keeps it

turritom

  • Posts: 38
you need 2 game attributes (numbers) score and highscore

if your player died  .... if score > highscore then  set highscore = score

then save your game if you want to save the attributes and load it if you start your app new (load at the beginning)

if you play it again set "score" to 0

robert123

  • Posts: 6
Can you send me screenshots please