Simple Collision Detection Demo

Category:
Multimedia/Games
Type:
Snippets
Difficulty:
Beginning
Author:
Justin Hart

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This code will make the computer process any code when the two images overlap; much easier than sprites. You will need a normal VB project with two image controls (image1 and image2). Any comments mail me at justinhart2001@yahoo.com

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: