How to save high score for each new game session?
Hi everyone, I hope you're all doing well
So I'm almost done making my very first game with GameSalad, for the iOS. A big thank you goes out to those who contributed to the cookbook, since it has helped a ton.
Today, while developing I've ran into a bit of a small problem. I've managed to write the rules about saving score and also a "best score" and comparing the two against each other, but seems the best score is only displayed when users play a continuos session. So for example, the player would hit the play button from the 1st scene and immediately go to the 2nd scene which is the play scene. After the player has lost, the scene changes to the last scene, the game over scene, where the current score and the best score is displayed. Then when the player clicks the "play again" button from the game over scene, the player gets to play another round, and the high scores are saved. All of this works perfectly as it should.
However, the problem occurs when I quit the preview and start it new - the best score returns to default of 0 in the game over scene, but I would like to bring the best score from the player last session into this screen.
From my understanding, in order to pull that off, I'd have to use a backend server of some kind, correct? If so, how can I do that with GameSalad, and is there any tutorial which will lead me in the right direction? I must admit I haven't set up game center yet, but I have set up GS viewer on my iPhone. Is what I'm trying to do somehow to be used together with game center, or what? So far, I've been following tutorials by tshirtbooth, and they helped a lot. I just don't know how to actually save the best score for each new session. Please help!