I am trying to create a local leaderboard for my game which only needs to be saved during a single session i.e. it doesn’t have to be recalled if the game is closed and opened again.
The easiest way that I’ve found to restart the game when the player runs out of lives is to use the “Restart Game” node like this:
However as far as I can tell, this method will not allow me to keep the current players score variable for the leaderboard.
Is there any way I can retain the score variable when using this method? If not what is the best way to go about creating a local leaderboard that only needs to be saved for a single session?
Many thanks in advance!