Current Version: 1.0
As you may know, saving/loading the game is not allowed in scripted levels. This simple library allows the player to save/load the game at the savepoints/checkpoints (The blue box that a bunny doll gets out from when you touch it)
- When at a savepoint, the player can type ‘jjsave’ to save his progress
- To load your progress, go to the FIRST checkpoint that the player encounters and type ‘jjload’, basically you want to put a checkpoint close to the start pos
- Loading is allowed only at the first encounter of a checkpoint, while saving is allowed at any checkpoint
-IMPORTANT: The script does not save any of the game objects states of enemies, pickups, etc… but only the player’s and the most important global states (player ammo, coins… triggers, waterlevel, etc etc)
-The user can pass a hook function to save custom variables of his own.
-Currently only 1 save slot per level, saving overwrites the previous save file, whose format is: LevelName_SaveGame.asdat
An example level is provided.
Feel free to DM me on discord on any question/suggestion