Storing data, when the game is closed

Hi all,

How do you go about storing game data e.g. settings, save's files?
I'm developing a game that would be a lot better if I could have the ability to save data to a file, is this possible in GameSalad?

I have watched a lot of tutorials but I have drawn a blank when it comes to saving data.

Regards

DNA

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    anything you store in tables can be saved
    anything you store in an attribute can also be saved, but requires more rules

    saving a table is very very easy, you update the table value and then save the table
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    You can save data in a table -- which is the way to go in my opinion. All you have to do is use the Save Table behavior. No need to load it back in, it will automatically do that.

    If you want to save attributes, you'll have have to use the Save Attribute behavior.

    There are tutorials on YouTube if you want to learn more about either way to save data. You can also look on our website -- we have all of them on our Demo page: www.gshelper.com
  • jigglybeanjigglybean Member Posts: 1,584
    I think tables is the way to go. recently, I purchased a new template and the character animations, image sizes etc were controlled by tables - truly incredible.

    I had no idea that can be used to save/load stuff too. I've used attributes which seem to work well but will take a good look at using tables for loading and saving scores.

    Like Balls? Then click here! We've 100 coming soon

  • _DNA__DNA_ Member Posts: 9
    I was under the impression that table initialised when you closed the game, thank you all :)
Sign In or Register to comment.