Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
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 guys, please I need assistance. Am working on a multi level game. How do I make the game restart a particular level if a player fails that level and he press a replay botton? (2) How do I male the game go to the next level if a player wins that level and he press a continue botton? I would appreciate any idea .Thanks
If the levels are on seperate layouts, you can use the "system goto layout"-action
If the levels are on the same layout, having a global variable to hold the level number should work..
Thanks LittleStain I av my levels on different layout and am able to move to those layout when a player wins a level,but when a level is failed I can't make a replay for that level. I already created a layer to display game over with replay botton but its not replaying instead is going to the next level layout. please any idea or a better way?
Develop games in your browser. Powerful, performant & highly capable.
Wouldn't this work?
on replay button clicked