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
Is there a way when, after destroying X amount of monsters, the layout can change to a new layout? Such as if the player killed 12 monsters, the layout would swap for another layout?
Add variable monstersSlain.
Everytime you kill a monster add 1 to that variable.
When monstersSlain equals 12, go to layout 2 and setmonstersSlain back to 0.
Develop games in your browser. Powerful, performant & highly capable.
Add variable monstersSlain. Everytime you kill a monster add 1 to that variable. When monstersSlain equals 12, go to layout 2 and setmonstersSlain back to 0.
Thanks!
Might want to make that >= 12 on the check incase of some weirdness that happens to cause adding more than 1 to the variable. It's a safe coding practice.