Saving an entire application
Ok, i have searched and searched and I can't find a way to save my entire game... global values, alterable values, and object positions. I have tried the Save Game object but that seems only able to save alterable values and object positions. I am making a very complex game that u need to be albe to save the whole thing. Is there a way to do this? If not will there ever be one?
Thanks
Re: Saving an entire application
Have you tried MMF2's built in save feature?
Re: Saving an entire application
Hi Hazzow. There are several objects to save your values. To name a few, Array, INI, INI++ (more user friendly than INI), Associative Array (uses keys as in Nivram=duffus, and can be made global to carry over info in sub-applications).
Marv
Re: Saving an entire application
Quote:
Originally Posted by bigredron
Have you tried MMF2's built in save feature?
where is it?
Re: Saving an entire application
Under the story board object.
Frame Position save and load.
Re: Saving an entire application
Ah ok, I already know it, but it only saves the current frame, not the entire application status, right?
Re: Saving an entire application
Its going to save everything
Including the global values and strings
Re: Saving an entire application
That's good news for me, Jeff. The documentation of MMF2 isn't very clear about what exactly the frame "position" includes.
So, basically saving the frame position is equivalent to the "save state" feature of some games (and emulators)?
But if I have many global values set via Expression Editor (for example: Character number * 100 + 1 is the global Health, + 2 is the global Weapon, etc.) the save frame position feature is going to save those too?
Re: Saving an entire application
it will save whatever the current value is of that global value/string. Once you load it again your events can modify what data is stored in them exactly as when you left of.
Personally I store everything in arrays/inis as (as far as i am aware) the save frame feature doesnt allow the saving of these objects (as well as the Advanced pathinding objects current data)
Re: Saving an entire application
If the game is very complex as Hazzow was saying, you'll probabily want to use INIs.