How to make best score?


#1

Hello there! Can somebody help me with best score system for my shooter game. I’ve already done current score system, but I also need best score! Thanks!


#2

you need a global variable load at start of game. If itis the first time value will be 0. So at the wnd of game check if score i higher of high score if it is assign score value to high score and save.
If you don’t want to save between runs there is no need