- Home /
Duplicate Question
End Level on Collision
Hey guys. I created a 2D game, basically a square moving through a maze, to get to the end. I'd like to know what code can I use to end the level if the square touches any of the maze walls, and also how do I make a special "area" where the square is teleported to the next level (load scene02).
P.S: All my codes are Javascript
Questions about Application.Loadlevel and Collisions have been asked a thousand times. Your question (I want...) and lack of any code/error/real problem show no indication you've looked at any of the materials. If you have a specific question beyond
OnCollision or OnTriggerEnter()
// do stuff
Please ask anew.
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Need help with screen resolution and character size 1 Answer
Glitching between box colliders. One is kinematic... Help! 1 Answer
A Question about sprites 3 Answers
Move Object With Angle In 2D 1 Answer