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
My game has five levels and is supposed to play a cutscene after a level is completed, just before the next level starts. Using "go to next layout" doesn't work, and using "Go to layout2/3 etc" stops the game from progressing to the next level as it always loops back to that level after the cutscene finishes. How do I get the game to progress through the levels in the right order?
Develop games in your browser. Powerful, performant & highly capable.
Add a LevelNumber global variable. So when you need to go to the next level, increment this variable and use "Go to Layout (By name)" action to go to layout "Level"&LevelNumber
Many thanks, dop2000.
Is there a way to get a different cutscene to play after completing level 5? Even with the new global variable it still plays the one in the included event sheet.
Simply compare LevelNumber=5 -> Go To Layout "DifferentCutscene"
Thanks again dop2000. I've noticed a minor issue where the Virus Total and CritterCount text objects look misaligned on level 2. This is the only level it occurs on and I can't work out what's causing it.
Run the project in Debug mode, check if there are double instances of these text objects. Maybe one is on a global layer.
Many thanks dop2000, there was an object on a global layer.