Saving lowest Score
zamboni77
Member Posts: 40
Hi there
I am developing a game that is judged by time so the aim is to do it as quickly as possible and I want to save the quickest score so that they can see what they want to beat. I have games that save the highest score but can't seem to work out how to save the lowest score. Any ideas?
Thanks people
Comments
Well in saving a high score you normally do something like this right?
If new score is > high score then high score = new score
So reverse that and say:
if new score is < lowest score then lowest score = new score
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
is there a way to set the bestscore integer to not be 0? Thank you for your help
When you set up an Integer Attribute you can set it to any starting value you want in the Attribute Editor. Or of course you can use a Change Attribute Behavior anytime in your game to set it to a new value as well.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
thats great thank you for your help
Your welcome
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page