How to make score and high score mechanic,like in dino game?
Someone asked the same question not too long ago.
1 Like
Hi,
A score in a dino-like game is a simple integer value that increases over time (or distance, which is kind of the same thing in the dino game).
A highscore is the storage of the highest score reached by the player, updated at the end of each try. Basically, when the player ends a run, you check their score, and if it exceeds the registered highscore, you override it.
I hope that helps, but feel free to be a bit more specific in case you have a more precise use case, or if you need more precise examples.
1 Like