October 2017
Intermediate to advanced
548 pages
13h 23m
English
One more thing that would be good to have in our game is tracking the player's high score. For this, we not only need to keep the high score of the current session, but then persist that data so it's preserved for the next time you play.
First, we'll make a UI element to display the current high score. It will be easiest to simply duplicate the ScorePanel we just made and modify it:
Read now
Unlock full access