This program demonstrates how to perform accurate pixels collision detection. Most vb games use the Extent collision detection method, which is fast, but not very accurate. This program shows how to detect when the objects touch. It also shows how to use the BltBit function and create memory DC’s. Even if you have never tried any of these functions…….it well worth a look.
Original Author: Richard Lowe
API Declarations
CreateCompatibleDC
DeleteDC
CreateCompatibleBitmap
GetPixel
BitBlt
SelectObject
DeleteObject
Attachments
File | Uploaded | Size |
---|---|---|
CODE_UPLOAD215.zip | 9/3/2020 3:45:00 PM | 24808 |