The Daily Click ::. Forums ::. Klik Coding Help ::. Some thoughts...
 

Post Reply  Post Oekaki 
 

Posted By Message

Lukas Hägg



Registered
  02/01/2004
Points
  642
2nd April, 2004 at 04:38:34 -

Well, I'm being original and are doing a RPG-game.
And in a RPG you have to be able to save right?
There'll be 3 slots to save to. That means I'll have to have 4 groups in the INI file. 3 for storing data as save files and 1 for storing values during gameplay.

So when it comes to loading the data from the INI to the game I can either use several INI objects to load different values or use only one to load everything. Which would be best?

And last, I have waaaay more than 16 items in each INI group. And there's only 16 global values lying around.
So Instead of using global values all the time I can take normal counters and set them to global to make them act like global values during gameplay.

Am I on the right track here?

Image Edited by the Author.

 
Mendokuse...

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
2nd April, 2004 at 08:26:25 -

Well my advice for you is to, instead of putting all three games in one INI file, to make one INI file per save game slot. You could do this with global values, which would rename the INI depending on which game slot you chose (if that makes sense). And then you'd put all the data required into that particular INI.

 
n/a

Lukas Hägg



Registered
  02/01/2004
Points
  642
2nd April, 2004 at 08:50:28 -

Gee... never thought of that, and yes it does make sense.

When "A" value is 1
-set current INI file to "B"

and so fort.

 
Mendokuse...
   

Post Reply



 



Advertisement

Worth A Click