[SOLVED ]How do i save the value of a variable from a scene to an other one?

Hi all,
My hero is controled by few variables : life, bullets, potions.

Everything works well in scene 1. When he is sent to scene 2, all the variables are put back to 0.

How can i save the value in order to keep the same number of bullets, life, potions ?

I tried object or global variables, without success…

thanks for help, still digging…

A.

1 Like

Global variable is supposed to work!

1 Like

I checked the variables. Indeed, it worked. I made a mistake, global variables in scene 1 and obect variales in scene 2… :roll_eyes:

Thanks !

1 Like