Page 1 of 2

Saving and Loading

PostPosted: Thu Sep 25, 2008 5:18 am
by GuybrushThreepwood
How can u save and load ur game? Please help!

Re: Saving and Loading

PostPosted: Thu Sep 25, 2008 12:05 pm
by edh
Hmm. There have been some examples of this, but I'm having trouble finding them right now.

Re: Saving and Loading

PostPosted: Thu Sep 25, 2008 12:56 pm
by DilloDude
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.

Re: Saving and Loading

PostPosted: Fri Sep 26, 2008 5:22 am
by GuybrushThreepwood
I do not understand. A little more explanation would be nice :mrgreen:

Re: Saving and Loading

PostPosted: Sat Sep 27, 2008 12:39 am
by BlarghNRawr
i believe thers a built in demo
it would help you more than people telling you what to do

Re: Saving and Loading

PostPosted: Sat Sep 27, 2008 6:40 am
by GuybrushThreepwood
Ummm... I dont no which demo yer talkin about. i dont think i have it :mrgreen:

Re: Saving and Loading

PostPosted: Sat Sep 27, 2008 3:45 pm
by BlarghNRawr
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

Re: Saving and Loading

PostPosted: Mon Oct 06, 2008 8:10 pm
by j2graves
could someone give a basic step by step process of making a save and load capability?
and also a delete saved data capability?

Re: Saving and Loading

PostPosted: Tue Oct 07, 2008 2:01 am
by DilloDude
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.

Re: Saving and Loading

PostPosted: Tue Oct 07, 2008 8:12 am
by Bee-Ant
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...

Re: Saving and Loading

PostPosted: Wed Oct 08, 2008 11:47 pm
by BlarghNRawr
not hard to explain...
its hard to learn unless have good instruction
then learn fast ^_^

Re: Saving and Loading

PostPosted: Wed Oct 08, 2008 11:50 pm
by j2graves
I know how to make variables, but I mostly use them as global integers.

Re: Saving and Loading

PostPosted: Wed Oct 08, 2008 11:51 pm
by BlarghNRawr
id ont know how to use those...
what they 4 ?_?

Re: Saving and Loading

PostPosted: Wed Oct 08, 2008 11:59 pm
by j2graves
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;}

Re: Saving and Loading

PostPosted: Thu Oct 09, 2008 12:06 am
by BlarghNRawr
thats what i do...

whats the other one???