Visual Basic Express 2010 Tutorial 37 - Hit Detection - EZInvaders Part 6 Game



To hit the invader with the shot, the extreme edges of the shot and invader must be found. Once all four edges are found, the relative coordinates must be placed in an if statement using Ands. When the shot enters the area between the four edges a hit will be scored.

Code Download
EZInvaders.zip
InvadersWav.zip
Invader_Shooter_Pics.zip
FB.zip (FB picture)




The current version of Visual Basic can be downloaded for free at Microsoft's Website