I can’t seem to figure out how to change scenes on collision with another object. Like if you lose it goes to a losing scene.
Thanks, tpjacobson
I can’t seem to figure out how to change scenes on collision with another object. Like if you lose it goes to a losing scene.
Thanks, tpjacobson
You probably should go through some of these tutorials on collision detection.
http://coronalabs.com/resources/tutorials/physics-box2d/
Once you understand the ins-and-outs of collision detection, its just a matter calling composer.gotoScene() when you detect the collision.
Rob
You probably should go through some of these tutorials on collision detection.
http://coronalabs.com/resources/tutorials/physics-box2d/
Once you understand the ins-and-outs of collision detection, its just a matter calling composer.gotoScene() when you detect the collision.
Rob