I want a highscore to appear on my Game Over screen.
I've got (on the previous layout) a text object called TheScore and a Global Number called Score. These work and display the score.
On the Game Over screen I have a text object called TheHighscore plus the following event sheet, but it's not working:
I've saved/displayed highscores on previous games but I can't get it to work this time. What am I missing here?
Thanks all :)
Develop games in your browser. Powerful, performant & highly capable.
You only update the high score text object if score is greater than high score. Maybe your score is less than high score which means the text object would not update. If your score is actually greater than high score then it's possible the game over layout isn't using the event sheet.