- Home /
how do you save and make a pause menu?
Could someone please help me? how would i make a script to make a pause menu by pressing p and make a save/load option in it?can someone please Help? Thanks in advance!
Answer by Goody! · Aug 21, 2010 at 02:40 AM
Hey shawn. If you aren't finding your answers on this site another resource is a unity custom search here: http://www.google.com/cse/m?cx=002470491425767499270:iugs1ezlsfq&cref=&theme=DEFAULT
I do a lot of searching there and it can help you in finding out the basics.
Your questions seem general enough to warrent a little searching before being asked on this site.
Answer by uni · Aug 21, 2010 at 11:32 AM
I don't think there's a quick and dirty way to pause. You'll have to:
- Stop the Physics Engine
- Stop all animations
- Possibly apply some image effect, like blur or black and white
- Disable character control
- Turn off other game elements
- Stop Enemy AI/Animation
Then you have to provide the GUI to give the options for Save/Load features or saved games
Hope this helps
Answer by · Aug 21, 2010 at 01:35 PM
Quoting myself from another similar question: 'Making a Pause Menu'
UnifyCommunity has a sample Pause Menu Script. There are also a bunch of informative answers in a question asking, 'How do I pause my game?'.
As for the saving/loading, take a look at 'How to script a Save/Load game option', or the Save and Load from XML sample (also at UnifyCommunity).
I found all these links by searching UnityAnswers for 'pause game' and 'saving loading' - you'll find a lot of questions have already been answered, just give it a search first!