Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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
Develop games in your browser. Powerful, performant & highly capable.
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.
Thanks everyone! I'll try both solutions and see whats the best for my game