Question by
SamCarey · Apr 24, 2016 at 04:11 AM ·
javascripttextfilesaveloadsave-to-file
Writing save files (JavaScript)
For a while now I have been trying to make a save function for my game. I want to make a script that saves data into a text file so can loaded when you re-open the game. My idea was saving data such as Player Location, physics object location, health, ammo ext into text document and then reading that information when loading the game . I don't know if there are any other easier or more efficient ways to save data. I know how to use JavaScript and have no idea if this kind of thing is possible using this language.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612075504im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Spawn a dot for every number typed? 0 Answers
Screenshot to variable 0 Answers
JS Letter by Letter dialogue issue 0 Answers
Cannot deserialize JSON to new instances of type 'X' 1 Answer