how to make a LOWSCORE
to make a highscore I take
If score is > highscore
Change highscore to score
But if i want make a lowscore (fastest time)
If score is < the highscore
change highscore to score
But my inital highscore is 0 until first score i registered?
which means i cant change my highscore because my score will always be bigger then 0
i feel like iam having a massive brainfart with this one... the solution is properly very simple. but i cant seem to get it right?
any suggestions?
If score is > highscore
Change highscore to score
But if i want make a lowscore (fastest time)
If score is < the highscore
change highscore to score
But my inital highscore is 0 until first score i registered?
which means i cant change my highscore because my score will always be bigger then 0
i feel like iam having a massive brainfart with this one... the solution is properly very simple. but i cant seem to get it right?
any suggestions?
Comments
When level is complete
if lvl1time < playerTime.
then
lvl1time=playerTime.
Then its really important to make a rule the resets playerTime to cero everytime you switch to the next level.
Hope that helps