The Daily Click ::. Projects ::. Dark Reality
 

Project: Dark Reality
Project Started: 5th June, 2008 Last Update: 24th March, 2009
Project Owner: -Dark Martin- Project Members: Dynamite
Project Type: 2D, Survival Horror, Action, Adventure, Puzzle Project Progress:

Saving Feature Alert!
Posted 13th Jun 08, by -Dark Martin-  
I will keep you posted.

Ok i've made another change to it, instead of the save files being completed erased upon selecting a new game, if the introduction reaches the end THEN it will be erased, this is to prevent someone speeding though the start to get to the menu and accidently selecting New game.

Remember, the game you can end the game at any time by simple pressing ALT + F4 simultaneosly.

Thanks.

Posted by Aptennap 14th June, 2008

You have to use the set current file function of the ini object for this.

Create 3 buttons (save file 1,2 and 3) and when the player clicks 1 set current file to appdrive$+appdir$+"savefile1.sav"(for example), when he clicks 2 appdrive$+appdir$+"savefile2.sav" and so on. Now you also have to change a global value so the other frames know to which file the data has to be saved.
So in the frame that has to save you do : If global value A = 1, set current file appdrive$+appdir$+"savefile1.sav".
If global value A = 2, set current file appdrive$+appdir$+"savefile2.sav", and so on.

I hope you understand now, or don't you use ini's?
 
Posted by -Dark Martin- 15th June, 2008

I don't.

I use Arrays.
 
Posted by Aptennap 16th June, 2008

Oh oke, I have no knownledge about arrays.
 
Posted by viva/volt 17th June, 2008

Use a global value and do save array to Appath$ + "saves\save" + str$(Global Value A) + ".sav"


Where Global Value A is the save slot or something like that.
 
Posted by -Dark Martin- 17th June, 2008

Sorry, i'm trying to keep it to a level where i don't endup getting confused and burn out.
 


 



Project Forums


Favourite

Advertisement

Worth A Click