How To create highscore with new function SAVE ?
venon_it
Member, PRO Posts: 594
How to create a page with report all highscore with use new bheaviors SAVE?
now i save score, but when replay the score rewrite!! and appears only one score!
Thankss
now i save score, but when replay the score rewrite!! and appears only one score!
Thankss
Comments
Thank you a lot Eastbound
/taps foot impatiently.
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Maybe somebody else can give it a go
attributes:
score
1stplace
2ndplace
3rdplace
4thplace
5thplace
after your game ends load all of the saved high scores into the place holders.
if score > 1stplace
change attribute 5thplace = 4thplace
change attribute 4thplace = 3rdplace
change attribute 3rdplace = 2ndplace
change attribute 2ndplace = 1stplace
change attribute 1stplace = score
if score > 2ndplace
change attribute 5thplace = 4thplace
change attribute 4thplace = 3rdplace
change attribute 3rdplace = 2ndplace
change attribute 2ndplace = score
if score > 3rdplace
change attribute 5thplace = 4thplace
change attribute 4thplace = 3rdplace
change attribute 3rdplace = score
if score > 4thplace
change attribute 5thplace = 4thplace
change attribute 4thplace = score
if score > 5thplace
change attribute 5thplace = score
then save all the scores into memory. this should work right?
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I'll try to post an example.
http://gamesalad.com/game/play/32379
As it is now every score has to have its actor since I don't know if and how you could insert a return in the expression editor (I even tried using a text attribute with a return inside with no luck).
Hope it helps
my scores on a game are saving, but when i exit the game to home screen and come back to it, the score didn't really save, at least not the highest score in the way that i wanted.
Be careful when using keys for saving as it's case sensitive.
So let's say you're saving the attribute 'score' with the key 'Score'
If you try and load key 'score' for the attribute 'score' it won't load.
You would have to load the key 'Score' for the attribute 'score'.
Make sense?
An addition to the Wiki perhaps?
Hope that helps,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Sorry
Does resetting the game reset the high score, or should I be able to see the high score when I restart the 1st level again?
I want to be able to have a game over display, then go back to the title screen, then save the high score at the top center of the screen.
How can I do this?