Saving and Loading

You must understand the Game Editor concepts, before post here.

Saving and Loading

Postby GuybrushThreepwood » Thu Sep 25, 2008 5:18 am

How can u save and load ur game? Please help!
Pirate: You fight like a diary farmer!
Guybrush: How appropriate, you fight like a cow!
User avatar
GuybrushThreepwood
 
Posts: 94
Joined: Sun Jul 06, 2008 12:23 pm
Location: Melee Island
Score: 2 Give a positive score

Re: Saving and Loading

Postby edh » Thu Sep 25, 2008 12:05 pm

Hmm. There have been some examples of this, but I'm having trouble finding them right now.
User avatar
edh
 
Posts: 233
Joined: Thu Sep 13, 2007 12:17 am
Location: Maine, USA
Score: 14 Give a positive score

Re: Saving and Loading

Postby DilloDude » Thu Sep 25, 2008 12:56 pm

In short, you need to make variables to hold the values that need saving (such as x, y, levels completed etc.) and put them in a save group, so you can save and load with saveVars and loadVars.
If you're more adventurous you can make your own functions to write the data in a file.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: Saving and Loading

Postby GuybrushThreepwood » Fri Sep 26, 2008 5:22 am

I do not understand. A little more explanation would be nice :mrgreen:
Pirate: You fight like a diary farmer!
Guybrush: How appropriate, you fight like a cow!
User avatar
GuybrushThreepwood
 
Posts: 94
Joined: Sun Jul 06, 2008 12:23 pm
Location: Melee Island
Score: 2 Give a positive score

Re: Saving and Loading

Postby BlarghNRawr » Sat Sep 27, 2008 12:39 am

i believe thers a built in demo
it would help you more than people telling you what to do
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Saving and Loading

Postby GuybrushThreepwood » Sat Sep 27, 2008 6:40 am

Ummm... I dont no which demo yer talkin about. i dont think i have it :mrgreen:
Pirate: You fight like a diary farmer!
Guybrush: How appropriate, you fight like a cow!
User avatar
GuybrushThreepwood
 
Posts: 94
Joined: Sun Jul 06, 2008 12:23 pm
Location: Melee Island
Score: 2 Give a positive score

Re: Saving and Loading

Postby BlarghNRawr » Sat Sep 27, 2008 3:45 pm

just press the 'Get Newest Demos' button, and you will have all of them
there should be one named Highscore or something
and you just need to do that with everything that needs saving for the next time the game is played
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Saving and Loading

Postby j2graves » Mon Oct 06, 2008 8:10 pm

could someone give a basic step by step process of making a save and load capability?
and also a delete saved data capability?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Saving and Loading

Postby DilloDude » Tue Oct 07, 2008 2:01 am

As I said before, it really depends on what sort of game you have, as to what needs to be saved, but I might make a basic tutorial soon, unless somebody else can do it first.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: Saving and Loading

Postby Bee-Ant » Tue Oct 07, 2008 8:12 am

Before you know about how to save and load data, you should know how to make variables (global or actor) first...
Do you already know it???if not, it would hard to explain...
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Saving and Loading

Postby BlarghNRawr » Wed Oct 08, 2008 11:47 pm

not hard to explain...
its hard to learn unless have good instruction
then learn fast ^_^
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Saving and Loading

Postby j2graves » Wed Oct 08, 2008 11:50 pm

I know how to make variables, but I mostly use them as global integers.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Saving and Loading

Postby BlarghNRawr » Wed Oct 08, 2008 11:51 pm

id ont know how to use those...
what they 4 ?_?
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Saving and Loading

Postby j2graves » Wed Oct 08, 2008 11:59 pm

it's a way of setting conditions for an action. open the script editor window, and then click on the new variables button or whatever it's called. make a new variable and set it to integer global. variables are used to make conditions for events like
if(variable==1)
{actions;}
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Saving and Loading

Postby BlarghNRawr » Thu Oct 09, 2008 12:06 am

thats what i do...

whats the other one???
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Next

Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest