-
Jul 13th, 2009, 06:53 PM
#1
Thread Starter
Junior Member
Collision detection in Visual Basic
My game looks like this:
The plane moves up and down, and the missiles go from right to left at a random height and velocity.
I'm having trouble detecting if the missile has hit the plane, though. I have tried comparing the .Top values of the plane and the missile, and that works (although it doesn't detect the x axis) but it has to be pixel perfect, and I need it to work for the whole picture.
Idk, i've completely run out of ideas. The ones I had failed when I tried to put it into code lol.
Thanks for any reponses
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|