Help Please with Unlock Levels and Preview Viewer

hzappshzapps Member, PRO Posts: 173

Aloha Everyone, I am looking for your advice on my almost finished game using Unlocking Levels. I have watched the tutorials and believe to have used the Key correctly to save the levelUnlocked Attribute to save the ever growing levels.

When I upload it to the ipad viewer. My scores save and print on each of the unlocked boxes while running and the boxes are unlocked, but when i close down the viewer and reopen, all of the levels are locked back up again. So I start at level 1 again and succeed, then notice level two is now unlocked and the scores (which was saved to the tables) is in the unlocked box.

Does the Unlock part of the viewer not work, or is it my stupidity and I have a bug. I am not saving the levels unlocked to tables (40 of them) I am saving as an attribute

Thanks
Mike

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Does the Unlock part of the viewer not work?

    There is no "unlock part of the viewer." Whatever is not working is due to the way you've set up your rules.

    Are you using 40 attributes because the player can unlock levels in any order they choose? Otherwise you only need one attribute to store the highest unlocked level.

    You might want to post some screenshots of your rules and then people can help you figure out what you need to fix.

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

  • hzappshzapps Member, PRO Posts: 173

    I will do that. It basically works completely for all of the levels without any problems. One Attribute for the game for the unlocked levels that goes up with each successful completion of a scene.

    Where it goes wrong is when I close the preview on the ipad. Open it later, It has retained the scores in the background (Tables) but the levels are locked again.

    Crazy huh
    Mike

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Are you using a Load Attribute behavior for each attribute you are saving?

    Can you get ANY attributes to save and load correctly?

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

Sign In or Register to comment.