Hello!
I have a player that have some local variables like "heath" and "coins", and i want him to keep this values between layouts, is this possible?
Ps: Sorry if i said something wrong, it's not my main language.
Yeah you can make global variables that hold the values and then you can access them through all event sheets...
To make a global variable right click in the event sheet and the option to make on should show up
You can also just make your player a global object in the properties window - this way he'll keep all the variables when changing layouts.
Develop games in your browser. Powerful, performant & highly capable.
Thanks everyone! I'll try both solutions and see whats the best for my game