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
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
Hello, the player will pick up dimonds in the first layout, but when the second layout loads the diamonds disappear (reset to 0)
Do i have to use some sort of save state/? no idea.
Hi, you don't have to use save data but there isn't enough information for someone to help with this. Most likely you have an 'on start of layout set diamonds to 0' or 'reset global variables' that triggers on the start of each layout.
Develop games in your browser. Powerful, performant & highly capable.
you can keep track of your diamonds with a global variable. Global variables wont reset between layouts.
Hi Plinkie and haddy.
Thanks for the help. So when the player collects gems in the first layout and the player kills all the zombies, he moves on to the next level but the gems collected in reset back to 0. Cap attached.
I have the global variable but its still not working. Thanks