Saving and loading into specific file?

Joined
Jun 30, 2017
Messages
42
Reaction score
35
First Language
spanish
Primarily Uses
RMMV
I am trying to implement in my game my own load/save mechanic.

I want to save into a file the current game status everytime the player interacts with a savepoint event.

When the player dies, loses one live and in case lives>1 a list of previous savepoints is presented on
screen to choose one, the savepoint is loaded and then the new lives counter applied.

There is no 'load/save' menu, but the player can cast a spell to kill himself to force savepoint load
if lives>1;

Can someone guide me to to save and load from a specific file to implement something similar to:

saveGameIntoFile('./data/filename');

loadGameFromFile('./data/filename');

thanks
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,019
Members
137,564
Latest member
McFinnaPants
Top