Highest score problem...!

Hi All.
I have followed instructions from the forum about creating a highest score page when my game ends. I have two integers - game score - high score and a change/ save attribute etc...
It sort of works except. When I have a highest score of say, 10 and I score zero, it saves the highest score as per instructions. BUT when I score less than 10, lets say 5 for instance. The highest score changes to 5 as does the Game score, and doesn't save as 10....?!
I've also published the game and it is the ONLY part of thegame that is not working. So even on the device the highest score doesn't work.
I've checked everything over and over and all looks correct.....I'm starting to pull my hair out!
Please help me from going bald...
Regards,
Bronze
I have followed instructions from the forum about creating a highest score page when my game ends. I have two integers - game score - high score and a change/ save attribute etc...
It sort of works except. When I have a highest score of say, 10 and I score zero, it saves the highest score as per instructions. BUT when I score less than 10, lets say 5 for instance. The highest score changes to 5 as does the Game score, and doesn't save as 10....?!
I've also published the game and it is the ONLY part of thegame that is not working. So even on the device the highest score doesn't work.
I've checked everything over and over and all looks correct.....I'm starting to pull my hair out!
Please help me from going bald...
Regards,
Bronze
Comments
Then a constrain behaviour: Constrain high score to score
Then just save when you need to (end of a level for example).
Try it, let us know how you get on!
Cheers,
QS
That worked great... Thanks...
I now have almost the same problem as now it saves the highest score all the time... ! but only once..! If i play again it will only show the highest score from the first game..... Getting there, thanks for your help if you can advise some more...
Bronze...
When are you saving the high score?
Cheers,
QS
Sorry its been a while. Schools hols...
I'm still having problems. I'm saving the high score at the 'game over' page only, on the same page as it loads.
It will only save the first high score. I cannot get it to over-ride it if the next game has a higher score. It only displays the original..!!?
Thanks,
Bronze