Save Attribute???

tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
edited November -1 in Working with GS (Mac)
Ok i started testing my game on the phone today and all the save attribute stuff works perfectly right up until i close the app. Then next time i open it, its back to level 1 and all other levels are locked again. How to i save the attribute so they will remain for the next time the game opens. Is there something to do with the key field in the save attribute behavior?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I tried adding a key to the save attribute thing and it did no better. What am i missing here? is there somewhere else you are supposed to define the key you add? Or, am i just nowhere near on the right track? lol
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Well, you also need to use Load Attributes to load everything in next time you play. I would put them in an actor in the very first scene, maybe your logo or splash screen.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Ah. so load attribute using the unique key?
  • synthesissynthesis Member Posts: 1,693
    Yes....
    the key simply defines the memory slot for the data to be stored in. Use the save and load attributes to push and pull data from the memory slot.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I think its safe to say you guys are geniuses. Thanks a bunch. on to further testing.
  • Sorry to be such a super noob but...is there a tutorial somewhere that explains how to support saved attributes? I'm having a little bit of difficulty locating it.
Sign In or Register to comment.