Save/Load functionality

lordpalandus
28 May 2017, 06:24

Hi,

I want to create a text-based adventure that will be played by a player for more than 30 minutes, thus, I'm going to need save/load functionality AT SOME POINT. I don't currently need it, but will eventually, so how do I do this? I know how to end the game, and thus create failure states, but not sure how to create save/load.


The Pixie
28 May 2017, 07:39

It is built-in. If there is a command bar, the player can just type SAVE. If played on-line there is a save button top right, and for the desktop version you can save via the file menu.


lordpalandus
28 May 2017, 16:43

Ok, how do you go about loading the game then? Good to know on the save functionality is built in.


DarkLizerd
28 May 2017, 18:38

Quest saves your game as (your save game name).quest-save.
to restore your game, just load that file.


lordpalandus
28 May 2017, 19:15

Okay, thanks. Appreciate it.


The Pixie
28 May 2017, 20:31

On the web player, when you go to the game's web page, if you have a save game, you willget the choice of continuing or restarting.