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
Hi, i have been working on my car game. I added all the features i want in it and i ahve done the first level. What i need to know is how to make my car get to the next level when it hits the finish line. Any ideas?
This is for construct 2 btw
check the Frequently Asked Questions thread, I'm pretty sure that there's something related to what you want.
I personally use global variables, for example the finish line is counted by 3 laps then stop this car and goes to layout level 2. Simple.
Develop games in your browser. Powerful, performant & highly capable.
I have checked the Frequently Asked Questions thread before.
Joannesalfa, thanks, your a life saver.
I think it's better to use a istance var on that line, starting it from zero and updating it every collision with your car (be sure your car can't pass it and turn back and pass it another time - your player will be able to pass levels just crossing the line three times!) instead of a global var.