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?
Develop games in your browser. Powerful, performant & highly capable.
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.
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.