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
So I've been building a 2d game and I use layouts as levels and when I play to level 2 I get there and my score is reset back to 0. Can't seem to figure it out. I would appreciate any help. Thanks
Is it in a new layout? Try use the Webstorage to save the highscore between levels
i hope thats the right way to build levels is each level in separate layouts
oh man thank you for your help. ive been stump on that score thing for 3 days. if you for any reason get stuck dont hesitate to hit me up.
Develop games in your browser. Powerful, performant & highly capable.
You should check out the Beginner tutorials https://www.scirra.com/tutorials/top they will help you learn alot of basics which will help you understand how to make alot of your own events
also for your need here check out Global variables https://www.scirra.com/manual/83/variables
thanks ill check that out
Global variables is the way to go! Webstorage is overkill.
Unless you have highscore table you want to save. Or if you want to add save game, then webstorage is good, but for just basic game it is enough with global variables.
helena is right do not use Webstorage
so no webstorage ok
i will try the global variables. this is a basic game im building just so i can learn construct 2 a bit better. thank you so much for all of your support and i hope to be making some good games soon.