# functions for  save / load  game

**URL:** <https://discussions.unity.com/t/functions-for-save-load-game/399470>\
**Category:** Scripting\
**Tags:** Scripting\
**Created:** [October 11, 2009, 6:06pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470 "2009-10-11T18:06:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon\_17167449](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anon\_17167449](https://discussions.unity.com/u/anon_17167449)\
**Post date:** [October 11, 2009, 6:06pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/1 "2009-10-11T18:06:16Z")

</div>

hi dear  
actualy i cant find any suitable codes for making save and load system for my game .

how i can do that ?

---

<div class="post-metadata">

**Author:** ![bigkahuna](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/bigkahuna/32/291490_2.png) [@bigkahuna](https://discussions.unity.com/u/bigkahuna)\
**Post date:** [October 11, 2009, 6:13pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/2 "2009-10-11T18:13:20Z")

</div>

There are several scripts in the Wiki that could be adapted for this: [http://www.unifycommunity.com/wiki/index.php?title=Scripts](http://www.unifycommunity.com/wiki/index.php?title=Scripts)

A search of the forums should also bring up a couple of threads on the topic as well.

---

<div class="post-metadata">

**Author:** ![GargerathSunman](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/gargerathsunman/32/185234_2.png) [@GargerathSunman](https://discussions.unity.com/u/GargerathSunman)\
**Post date:** [October 11, 2009, 9:39pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/3 "2009-10-11T21:39:50Z")

</div>

I also made a tutorial on the topic for my website. (Linked in my signature) It handles saving and loading level-based games using the PlayerPrefs class.

---

<div class="post-metadata">

**Author:** ![anon\_17167449](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anon\_17167449](https://discussions.unity.com/u/anon_17167449)\
**Post date:** [October 13, 2009, 7:17am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/4 "2009-10-13T07:17:10Z")

</div>

tnx for attention body  
i couldnt open this page  
[http://www.unity-tutorials.com/](http://www.unity-tutorials.com/) link problem ?

i try to find something but still i found nothing .

---

<div class="post-metadata">

**Author:** ![anon\_72746024](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@anon\_72746024](https://discussions.unity.com/u/anon_72746024)\
**Post date:** [October 13, 2009, 8:22am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/5 "2009-10-13T08:22:44Z")

</div>

the website have some delay. i had it earlier too, seems like server is responding slow. just be patient, its working now for me, but not at the fully speed x)

---

<div class="post-metadata">

**Author:** ![GargerathSunman](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/gargerathsunman/32/185234_2.png) [@GargerathSunman](https://discussions.unity.com/u/GargerathSunman)\
**Post date:** [October 13, 2009, 6:35pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/6 "2009-10-13T18:35:17Z")

</div>

It’s got a single server in the US, so foreign users tend to have a slower time connecting to it. One day, when we have the money for mirrors, we’ll have servers in most of our foreign markets as well.

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 14, 2009, 5:14am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/7 "2009-10-14T05:14:56Z")

</div>

FYI, I’m preparing to release a turn-key game-saving solution that requires little to no code to use, and is so powerful you can easily restore your game’s run-time state. It’s pretty much all drag-and-drop. You can see a few bullet points about it here: [Legacy game tools](http://www.anbsoft.com/middleware)

I’m hoping to have it ready to demo at Unite.

---

<div class="post-metadata">

**Author:** ![tonyd](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/tonyd/32/437055_2.png) [@tonyd](https://discussions.unity.com/u/tonyd)\
**Post date:** [October 14, 2009, 8:14am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/8 "2009-10-14T08:14:03Z")

</div>

> [@""](#):
>
> FYI, I’m preparing to release a turn-key game-saving solution that requires little to no code to use, and is so powerful you can easily restore your game’s run-time state. It’s pretty much all drag-and-drop. You can see a few bullet points about it here: [Legacy game tools](http://www.anbsoft.com/middleware)

Sounds awesome!

Will it work on iPhone basic?  
How much will it cost?  
When will it be ready?

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 14, 2009, 9:02am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/9 "2009-10-14T09:02:09Z")

</div>

I’m hoping to have it ready to show for Unite. And yes, it is being designed from the ground-up to work for Unity iPhone (I don’t see any reason it wouldn’t work for Basic).

I’m looking right now at a price point of $99 per developer license. That means unlimited projects for a single developer/studio.

---

<div class="post-metadata">

**Author:** ![scinfu\_1](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@scinfu\_1](https://discussions.unity.com/u/scinfu_1)\
**Post date:** [October 14, 2009, 12:18pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/10 "2009-10-14T12:18:05Z")

</div>

+1

😄 😄

---

<div class="post-metadata">

**Author:** ![RoyS](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/roys/32/190000_2.png) [@RoyS](https://discussions.unity.com/u/RoyS)\
**Post date:** [October 14, 2009, 10:59pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/11 "2009-10-14T22:59:14Z")

</div>

Will this work for clients to move furniture and items, etc about a scene and save that state? If so, count me in!

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 15, 2009, 12:21am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/12 "2009-10-15T00:21:58Z")

</div>

The way it works is it will save whatever values are in your GOs.

---

<div class="post-metadata">

**Author:** ![scinfu\_1](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@scinfu\_1](https://discussions.unity.com/u/scinfu_1)\
**Post date:** [October 15, 2009, 8:02am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/13 "2009-10-15T08:02:46Z")

</div>

> [@""](#):
>
> The way it works is it will save whatever values are in your GOs.

Hi

when it will released?

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 15, 2009, 8:05am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/14 "2009-10-15T08:05:46Z")

</div>

I’m planning on having at least a release candidate ready to show at Unite. And I think I’ll be ready to accept limited orders for the release candidate around that time to get a wider testing base for it to make sure the final release is as solid and robust as possible.

---

<div class="post-metadata">

**Author:** ![scinfu\_1](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@scinfu\_1](https://discussions.unity.com/u/scinfu_1)\
**Post date:** [October 15, 2009, 8:09am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/15 "2009-10-15T08:09:54Z")

</div>

> [@""](#):
>
> I’m planning on having at least a release candidate ready to show at Unite. And I think I’ll be ready to accept limited orders for the release candidate around that time to get a wider testing base for it to make sure the final release is as solid and robust as possible.

if it is compatible whit iPhone I’d be a candidate .

it is compatible ?

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 15, 2009, 8:19am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/16 "2009-10-15T08:19:01Z")

</div>

Yes, it was actually built with iPhone in mind. It uses PlayerPrefs so it should work on all supported Unity platforms.

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 25, 2009, 1:20pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/17 "2009-10-25T13:20:06Z")

</div>

For those who were interested, EZ Game Saver has now been released:  
[http://www.anbsoft.com/middleware/ezs/](http://www.anbsoft.com/middleware/ezs/)

You can see a video of it in action here:  
[http://www.anbsoft.com/middleware/ezs/overview](http://www.anbsoft.com/middleware/ezs/overview)

In honor of Unite, it will be 10%-off (as well as anything else in your shopping cart) from the 26th through the 31st using this coupon code: CPN3774321538

---

<div class="post-metadata">

**Author:** ![tonyd](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/tonyd/32/437055_2.png) [@tonyd](https://discussions.unity.com/u/tonyd)\
**Post date:** [October 25, 2009, 6:03pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/18 "2009-10-25T18:03:10Z")

</div>

> [@""](#):
>
> For those who were interested, EZ Game Saver has now been released:  
> [http://www.anbsoft.com/middleware/ezs/](http://www.anbsoft.com/middleware/ezs/)

Looks great…

How customizable is it? Can we change the look of the GUI?

Also, it looks rather easy to accidentally delete saves, is there an option to have a message that says something like “Are you SURE you want to delete?”

---

<div class="post-metadata">

**Author:** ![Brady](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brady](https://discussions.unity.com/u/Brady)\
**Post date:** [October 25, 2009, 6:17pm UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/19 "2009-10-25T18:17:36Z")

</div>

Actually, the GUI stuff in the demo is just part of the sample project that comes with it. EZ Game Saver itself isn’t tied to any particular GUI setup. The sample project just uses Unity GUI to demonstrate how to call EZ Game Saver routines, such as GetProfiles() to get the list of stored profiles, and GetSaveGames() to get the list of savegames for a profile.

---

<div class="post-metadata">

**Author:** ![RoyS](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/roys/32/190000_2.png) [@RoyS](https://discussions.unity.com/u/RoyS)\
**Post date:** [October 26, 2009, 2:07am UTC](https://discussions.unity.com/t/functions-for-save-load-game/399470/20 "2009-10-26T02:07:56Z")

</div>

I will definitely be purchasing a copy this week when I get paid this Friday.

[Next page](https://discussions.unity.com/t/functions-for-save-load-game/399470.md?page=2)
