Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
After I select a global variable for the game, when the player dies I want to restart the game with the same variable I selected before. If I don't add any event/action, the game starts with the first global variable of the list and not with the one I selected before.
Develop games in your browser. Powerful, performant & highly capable.
I think there is no way to restore global variables without adding any event.
Let's try with Local Storage OR Web Storage.
Store variable in Key and when load Layout.
You could set back value into your variable.