Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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
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