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
I'm making a game with checkpoints, and I want to restart the game(or reset the layout) after the player dies, but I want him to respawn at the checkpoint if he reaches one.
Set a global variable upon reaching a checkpoint.
On start of layout, check if global variable is set. If it is, position the player object accordingly.
Use Local Storage to persist across play sessions.
Develop games in your browser. Powerful, performant & highly capable.
It worked, Thank you.