Quantcast
Channel: Answers for "How to script a Save/Load game option"
Browsing all 58 articles
Browse latest View live

Answer by TowerOfBricks

There are loads of solutions to that. The most used one is called PlayerPrefs and some documentation about that can be found in the docs. That approach does not save the data to a file which you can...

View Article



Answer by Ehren

Another option is to purchase a third-party save/restore tool, such as EZ Game Saver from Above & Beyond Software.

View Article

Answer by crasyboy42

i have a question for The Stone.can you help me? i want to store the points in this script i use now : http://unifycommunity.com/wiki/index.php?title=Save_and_Load_from_XMLi tried everything plz help...

View Article

Answer by Kevin Tweedy

Maybe another option would be to serialize to XML then zip up or encrypt the XML in some way and save it out to disk.

View Article

Answer by Thoben

@The Stone: Big THX for sharing, this serialization works perfectly.I've tested it on the iPad with Unity 3. You can use it the exact way, except you have to choose carefully where to save and load the...

View Article


Answer by Antony Blackett

You could also save the xml file and save a generated crc in a separate file. Then when you load the file simply check the crc saved with a newly generated crc from the save data. This will tell you if...

View Article

Answer by CJCurrie

I took TowerOfBricks's code for data serialization and put it together into a single script, complete with thorough commenting. Might be good for people looking to understand the save/load process a...

View Article

Answer by Pflegeleichtt

mhh and how do i access this script with others? I tried SendMessage but this doesn't work. Thx for your attention.

View Article


Answer by justbecrazy

Thank you for your code. But I'm wondering, since these are all not derived from Monobehaviour, they cannot be attached to a gameobject. So how come can I make it work after typing all of the code...

View Article


Answer by kingdutka

I'm having some troubles with this and will be discussing it further here: **http://forum.unity3d.com/threads/94997-Need-Help-Save-Load**

View Article

Answer by kingdutka

This post has an excellent solution for those of you that would rather use JavaScript: http://forum.unity3d.com/threads/94997-Need-Help-Save-Load I explain the entire process all the way down to...

View Article

Answer by kabel

another way is using JSON and txt files. saving data is where the fun is at.

View Article

Answer by igorkro

Oh, can anybody help me in a similar situation? I want my game to share saves between all the users in OS (I want allow all the users to see all the game profiles). Is there any way in Unity to get a...

View Article


Answer by johndevor

Is there any clear explanation showing how to rework this for serializing HashTables or Arrays?

View Article

Answer by whydoidoit

I have released my generic Save/Load game code on 100% free public MIT license. Available here: http://whydoidoit.com/unity-serializer-v0-2/ UnitySerializer is a full level serialisation plug in. It...

View Article


Answer by liszto

I gonna probably dig up this topic but I've got a question. I want do the same thing with my iPhone program to save data but when I do that, I got this on Execution : EXC_BAD_ACCESS in the function :...

View Article

Answer by shimauma

Based on CJCurrie's answer, I modified it and made the class entirely dynamic. First off, I added a static SaveData member in the SaveLoad class like this: public class SaveLoad { public static...

View Article


Answer by antonholmquist

Note: I'm the author of this library. I struggled a lot with object serialization on Unity, so I created an lightweight class to deal with this. Easy Serializer is a one-file project that provides...

View Article

Answer by Evorlor

Unity's official answer: http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/persistence-data-saving-loading

View Article

Answer by Empire-Games958

You can use **SaveGameFree** asset. It provides simple but powerful API for saving your game progress. [SaveGameFree][1] [1]: https://www.assetstore.unity3d.com/#!/content/81519

View Article
Browsing all 58 articles
Browse latest View live


Latest Images