So, I want the game to go to Level 2 when the sprite in the suit collides with the cactus.
Why won't this work? This code is attached to the cacti.
function OnTriggerEnter2D(collider : Collider2D) {
Application.LoadLevel(2);
}
Try OnTriggerEnter2D , and put this function inside the cactus .