- Home /
How to make a save and load option
I have done some searching on this already but I still dont know how to make a save and load option. What I am trying to do is make it so I can save where I am at in the story line which will be built up of different scenes and when I save it records what scene I left of on so the next time I can click on a load game option in the main menu and start from that scene and repeat those steps, it will save into the game itself. If someone could point me in the right direction on how to do this that would be great I am new to scripting with javascript and C# and never tried boo so please try to keep things as simple as possible, thank you.
If there is any additional info needed ask and I will post it a comment if I can.
Answer by aldonaletto · Apr 09, 2012 at 04:31 PM
I answered a similar question some time ago:
And another one showing how to save some more complex info, like rotation and position:
http://answers.unity3d.com/questions/200286/how-to-save-instantiated-gameobject-.html
I dont understand how that will make it load the scene left off on when loaded but thx for posting
Answer by NothAU · Apr 09, 2012 at 09:10 PM
There's a script on the UnifyCommunity Wiki for loading and saving, which should meet your needs with a little adjustment.
http://www.unifycommunity.com/wiki/index.php?title=Save\_and\_Load\_from\_XML
Thx I will probably use this with some $$anonymous$$or editing, I especially like how it explains what each part does which will halp a LOT
Your answer
Follow this Question
Related Questions
Save/Load Game and buttons New Game/Load Game? 1 Answer
Feedback on load & save "system" & how to make a "global"(?) script? 1 Answer
load button in main menu 1 Answer
saving the game in position 1 Answer
Save/Load/New 1 Answer