Save Game Progress


How does one add a save point for the player to save his/her game progress?


Here’s one of the main save systems people use for their games. It takes some tinkering with the javascript so be careful when you put it in


I think the easiest way is just to send you a few of the files of The Path of Light. If you want, PM me a mail.

In a few words, when you create a variable in the beginning, you also create a twin variable. At save/checkpoint, you copy the variable values to the twin values. When you die and restart, you restore the variable values from their twin variables and the reader is sent to the beginning of a scene (well, there is a way to be sent to a particular line within a scene).


@Mayday, that’s a really helpful “big picture” summary.