- Home /
Checkpoint autosave Method?
Hi guys, I currently have a XML save/load system, but I don't like it. I want to create a checkpoint system, were when the player enters a collider, it would create a save file, and when the player exits, it would be as I said in a save file. Then when player enters the scene again, it will get the save file and it will start from the checkpoint. I only need player position. I have no idea how to program something like this, and would anyone be kind to post a script on how to do it? Thank you in advance and I will put you in credits ^-^. It was hard enough to program the XML File.
How are you calling the X$$anonymous$$L saver? It seems like it should just be a simple case of calling the save routine from an OnTriggerEnter thats checks it was triggered by the player, and then checking each time the game starts if there is a save file, and if there is to load from it.
Your answer
Follow this Question
Related Questions
Saving and loading scene specific data - (safe for scene renaming) 1 Answer
create text file in C#. 2 Answers
Saving world info 3 Answers
How do I make a basic easy Save and load function with JavaScript 1 Answer
SerializationException: Type UnityEngine.Vector3 is not marked as Serializable. 1 Answer