Save system like in tin star


#1

Is there a way to implement a save system similar to what is in Tin Star?


#2

You can always take a look at Tin Star's code to see how they do it. Here's how I'm going to do mine:

For every variable in the story, I have a variable s_variable.

For example:

*create money 10
*create s_money 10

For saving:

*set s_money money

For loading:

*set money s_money

#3

I was thinking someway to save all variables temporarily and update them at the beginning of each scene. If the player were to die then the scene would restart with those variable values. Is that what you did?


#4

Have you checked out CJW's save plugin for CS? It's pretty handy: