PDA

View Full Version : Tunnel Mission


jediaction
10-08-2009, 08:26 AM
JEDIACTION

This is a game like I Copter or Cave copter by DJKevy who makes awsome games on yoyogames, You fly with a little ball through a tunnel. Click and hold to go up, let go to go down. Please help me on this! You can go through the walls. How do you make it so when you touch the wall it says game over, because there is no game over. I know how to make it say it, i just need the collisions to work. Please help and comment

x2495iiii
10-11-2009, 11:05 PM
Collision detection is one of the hardest things to do in a complex world. You need an if/else if or while statement which constantly monitors whether the object is far enough away from an object (with the distance in each method varying based on that object's size and shape).

jediaction
10-12-2009, 08:46 AM
Its pretty much impossible

dubastot
10-12-2009, 12:40 PM
It all depends on how many items you have and what shape they are. Veryuhbull made an easier way of doing collision detection involving lists.

jediaction
10-12-2009, 12:47 PM
Ok thanks, but i guess i could try that