How to Auto save and Auto load a scene in GameSalad?
robertkdale
USAMember Posts: 912
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.
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
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.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: 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.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Wait, so if use the save attribute and restart the game, the items will still be there?
Yep. It's an easy way to see if you did everything correctly without having to put the game on your device.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
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
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.
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.