Save & Load Issue. - URGENT!

thomasrichardgamesthomasrichardgames Member Posts: 263
edited October 2012 in Working with GS (Mac)
I released an update for my game yesterday, but the save & load problem has not be resolved and i can't see whats wrong. When the person switches the iPhone off then switches it back on, and plays the game, the high scores are not there. The
keys are the same, i am using attributes (not tables). I am stuck now. Please Please Please Help!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    So...If I understand correctly, you're saying that the save and load behaviors aren't working? They seem to be working for me...

    Did you change that high score attribute, then put a save attribute after you changed it? It's important that you do that. Also, make sure that you load your scores at the beginning of your game or each time you enter that scene that displays your high score.
  • Dazza006Dazza006 Member Posts: 248
    @AwesomeMobileGames
    Make sure you have the loads at the start of the game, and double check all the keys are the same I had a problem with my achievements once because there was a space at the end that I couldn't see so click on them and check.
    You can also test in the viewer that It is saving by starting at the beginning ( where the loads are ) and getting the high score then pushing the reset button next to the play button on viewer this acts like you turned the device off and then back on.
    If the high score Is gone it won't save.
    hope this helps.
    Darren.
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    OMG! Thanks, i didn't know if you pressed the reset button, it would reset the game. :) Thanks so much. I will check out this now.
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    It's still not working. Someone please help. :(
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Please post screenshots of your load attribute codes and your save attributes code. Save and load attributes are working fine, I've pushed 8 updates with v.10 without any issues, so the problem must be in your code.
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    edited October 2012
    I don't know how to post screenshots - but i will write them:

    In the display score actor:
    Rule: When (All)
    Score 1 > High score 1
    Change attribute High score 1 to Score 1
    Save Attribute High score 1 Key: highscore1

    Then in an actor on the home screen,
    Load Score:
    Key: highscore1 Attribute: High score 1
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Make sure you don't use the little e when ping in keywords, I don't think that works.
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    little e when ping in keywords? what does this mean?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    When you enter the 'key' word in save or load attribute functions, make sure you don't use the little 'e, button which brings up the expression editor.
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    It works now. Thank you so much. I've been getting so stressed about this over the last few days. It's made my day. :) :) :) :) :) Thanks again.
  • FallacyStudiosFallacyStudios Member Posts: 970
    edited October 2012
    Was having the same issue. If you use the 'e' thing at all if you try to type it in without it it pops up the expression editor every time
Sign In or Register to comment.