tHobbs
10-22-2008, 10:19 AM
for a project, I need to have a space invaders style game, but im having trouble with some of the collision detection and boundries. i have 3 spheres moving at a space ship, and if a sphere hits the spaceship, the ship does something symbolizing blowing up, but im not sure how. for boundries, i have two boxes on the left and right of the screen, but out of view, and again, i cant figure out what code to put, but i want something to pop up (know how to do that) if the spaceship moves too far out of the screen (ie, past the boxes). ive tried numerous approaches and nothings worked.