Preferably using Javascript, what script would I need, to change one script to another upon collision?
More specifically, every game level is made so that the character travels through a maze-type thing in order to collect crystal shards and the main goal - a marble. How can I make it so that the next level starts once the character collides with the marble?
Thanks in advance.