I have a game I'm making and if the Aligator hits the camel it dies. I want the code to switch worlds into a player 2 world if this happens. How would I do this?
In whatever method is called when the camel dies due to the Aligator hitting it (or at that point in the code), add the following (I am calling your player 2 world 'P2World'):