My high score saves while app is running but not when its closed ...

slevslev Member Posts: 99
edited November -1 in Working with GS (Mac)
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

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yes the viewer let su save and load as long as u reselect the game in the recent games tab on the viewer.

    And if your not alraedy you should be loading all your attributes at the start of the game in the first scene
Sign In or Register to comment.