Saving a number value

I’m new to saving things, how can I save the value of cash in my game? Flowlab Game Creator - Stock-In

1 Like

Use the Save is like telling it to remember a number by using the save input.
You can ask what that number is anytime by using the load input.

Saves will remember inside the computer, so even playing the game tomorrow, it should still be able to tell you that number. As well, any save that has the same NAME will act exactly as if its the same person/save block. So you can have several blocks at the same time that will do the same thing as long all of their NAMES are the same.

That’s the basic idea, but here’s an example for using saves:

1 Like

This works, but how do I save it after it’s reloaded?

You need to check if the save has a value before saving to it.