I have highscore in my game but i want and New Highscore example my highscore are 512 and if i go 620 say New Highscore.
Develop games in your browser. Powerful, performant & highly capable.
Does this help?
already have this highscore but problem is here i want to detect new highscore
Well you just have two variables. One for the current high score and one for your score. Then check if the score is higher than the high score, if so. NEW HIGH SCORE!
Thanks a lot this work :)
and how do I make the highscore system if there are 2 players in game?