My high score saves while app is running but not when its closed ...
![slev](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
the high score saves game to game on the iphone as long as the game is still running in the background but as soon as you close the app (double click bottom button and close app) you lose your high scores
ive got -
rule
if game.currentscore > game.best score
change atribure
game.bestscore to game.current score
save attrbute
game.best score
on the top score page ive got
load atribute
game.bestscore
does any one know where i have gone wrong ?
ive released the app on the app store then pulled it as i didnt like it on there not working, i plan to re realseas it, is there any way of testing if a fix for this works in the GS viewer ? dose the viewer allow you to save game data ?
thanks in advance
ive got -
rule
if game.currentscore > game.best score
change atribure
game.bestscore to game.current score
save attrbute
game.best score
on the top score page ive got
load atribute
game.bestscore
does any one know where i have gone wrong ?
ive released the app on the app store then pulled it as i didnt like it on there not working, i plan to re realseas it, is there any way of testing if a fix for this works in the GS viewer ? dose the viewer allow you to save game data ?
thanks in advance
Comments
And if your not alraedy you should be loading all your attributes at the start of the game in the first scene