Help with saving needed.🤷‍♂️

Hi everyone and thanks in advance for the help.
I am unable to find an example of how to save the health stats and number of collectables into the next level.
Right now the character’s stats return to default when the next level loads.
In the players behavior I currently have the interactions with health and the only collectable in the game set as: 1 Collision (with collectable) - 2 Number - 3 Label (collectable/ health), but I’m unsure what to add in order to save it all into the next level.
Is it possible to be pointed in the right direction? Thanks in advance.

2 Likes

You need to use a save behavior block to keep the numbers for when you go to another level.
In my shop example, look in “Player” behaviors and open the “Coin” Bundle.
This is how you would save numbers to use in between levels.

Shop Example: https://flowlab.io/game/play/1202461

Thanks for the help it’s much appreciated!

1 Like

@BlogHoarder - another possible option is to use a Global block to store your value. Those are saved between levels as well.

3 Likes

Thanks for the help, I really appreciate it.

1 Like