Erase all saved attributes ingame?

ErisedErised Member Posts: 21
edited November -1 in Working with GS (Mac)
I'd like to provide the player of my 8 level game with a lot of stat tracking the ability to reset the game without deleting it form their device. Whether or not every level is beaten, percentage of collectibles, etc. Every attribute is loaded at game start, and is immediately saved when it changes by the routine that changes it.

I really don't want to have to build a long routine that manually sets every saved variable to defaults (there are over 50 of them, and they are ALL needed, so it will take well over 200 clicks) and then manually saves every one of them. I'd much rather just somehow wipe them and then trip a game reset. Is such a thing even possible?

Comments

  • aarioaario Member, PRO Posts: 256
    I believe the Reset Game Behavior does this
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    aario said:
    I believe the Reset Game Behavior does this

    Nope Reset Game Does not erase Saved attributes. You will have to setup to change and save all attributes what you want them reset to if you want it in game. And if you are wanting to do it with an update. THen you just need to change the key being saved and loaded for each attribute.
  • aarioaario Member, PRO Posts: 256
    tenrdrmer said:
    Nope Reset Game Does not erase Saved attributes. You will have to setup to change and save all attributes what you want them reset to if you want it in game. And if you are wanting to do it with an update. THen you just need to change the key being saved and loaded for each attribute.

    good to know
  • ErisedErised Member Posts: 21
    I want to give the player a button that they can use to erase their saved progress (after asking them a few times if they are sure)

    The problem is while all the LOADS are in one place, all of the saves for the attributes are in the individual rules that change them, and it takes seven clicks minimum to place and populate a single save attribute behavior, and that's if you drag the scroll bar. you can't just paste the text in, you MUST click... :(
Sign In or Register to comment.