Hello
Can anyone help me figure this out?
I have been looking at the Save Table demo and have added it to a game using the Director class to try create a high score table.
Currently, when the user gets a score, the game writes it to a file. But when the user goes back to play the level again, it overwrites the score, even if it’s lower than the last time they played it. I only want the score to be updated if it’s higher than the number already saved.
Obviously it’s easy, but I can’t figure it out.
I can upload the code to my site, or email it to anyone who wants to have a look.
Thanks in advance!
Steve [import]uid: 45932 topic_id: 8435 reply_id: 308435[/import]