Why can not I save the score after the jump back to 0

chunweichunwei Member Posts: 8
edited March 2012 in Working with GS (Mac)
Why can not I save the score after the jump back to 0

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    What jump back to 0?

    A little more explanation on what problem you are having exactly would help a lot.

    Other than that, saving an attribute is just a matter of dragging a "save attribute" behavior, and choosing what attribute to save, and giving it a unique key name.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You're going to have to give us more details about your question. How are you saving the score? Are you saving a key or just changing an attribute? What do you mean by "jump back to 0?"

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Also make sure the save attribute behavior is above the change attribute that changes it back to 0, or else itll save it at 0.
  • chunweichunwei Member Posts: 8
    menu scene "load attribute"

    main scene "save attribute"

    exit the game after entering the game

    score no save
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Are you testing this in GameSalad on a Mac or in the GameSalad Viewer on an iOS device?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • chunweichunwei Member Posts: 8
    iOS device
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    The best I can do is to offer you a working template. Maybe you can see from the rules I've used why yours is not working. When you start the game, tap anywhere on the menu screen to go to the main screen. Then, to save the score, tap on "Save & Restart." When you tap to go to the main screen again, it should display the saved score. http://www.mediafire.com/?wtq051a6nixodbw

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • chunweichunwei Member Posts: 8
    I found the problem

    Direct input can load or save

    Can not enter the tick

    Thank you for the template
    Thanks
Sign In or Register to comment.