How to Auto save and Auto load a scene in GameSalad?

robertkdalerobertkdale USAMember Posts: 912
edited July 2012 in Miscellaneous
Hi,

In brief I would like to respectfully ask if there is a way to auto save and auto load a scene in GameSalad?

Simply put I would like the game to automatically save the last scene that a player stopped the game on. When they turn the game back on I would like the game to start back on the same scene that they quit on.

Also can I test it out in preview mode in GameSalad?

If this is possible can someone please explain how to accomplish this in the most simplistic terms possible?

In truth I am still have trouble just figuring out how to save and load scenes within my game, which has 27 scenes.

Any feedback would be greatly appreciated!

Thank you for reading this post.

Big Smile Games Play Happy!
Check out our other GameSalad exclusives.

Comments

  • developer6810developer6810 Member Posts: 139
    First, you can't do saving/loading in preview. Second, I could tell you how to make it save every 60 seconds :)
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    @devloper6810 - Yes you can. :)

    You'll see the little restart button above the preview box. If you hit that, it will restart your preview. Anything that is properly saved will be loaded when you hit that button. :)
  • developer6810developer6810 Member Posts: 139
    @Braydon_SFX

    I thought he is talking about saving in-game items, like how many coins you acquire or something so by pushing the restart, it would just refresh all of them.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    @developer6810 - not if he uses a save attribute.
  • developer6810developer6810 Member Posts: 139
    @Braydon_SFX

    Wait, so if use the save attribute and restart the game, the items will still be there?
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    @developer6810 -
    Yep. It's an easy way to see if you did everything correctly without having to put the game on your device.
  • robertkdalerobertkdale USAMember Posts: 912
    Thanks Guys. If you don't mind could you please tell me how I might go about saving a scene. So that the player doesn't have to start from the beginning every time they exit the game as they can simply load the last scene that they played. Truthfully I am having a hard time using the save and load attributes. Thank you.

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

  • robertkdalerobertkdale USAMember Posts: 912
    In sum I really could benefit from a step by step tutorial as the saving and loading a scene process is somewhat fuzzy to me.

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

  • HC_DKHC_DK Member Posts: 92
    You can´t just save a SCENE, you will have to save the progress like SCORE, LIVES, Position from Goal and so on....

    The Save and Load behaviour only allows you to save an attribute. You will have to do a little more work to "save" the scene
  • JamieOneilJamieOneil Member Posts: 877
    Just like HC_DK said..
    If you wanted to save a scene, you would have to create a few attributes.
    If you wanted to save actors positions, you would have to constrain their position to an attribute and save that attribute. Then on the main menu load that attribute so that when you go back on the level the actor is in the same place.
  • robertkdalerobertkdale USAMember Posts: 912
    Thank you! I can't believe that I did not think of that sooner! I will give it a try.

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

Sign In or Register to comment.