Pixel Collision Detect

By | 2002-06-01

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

FileUploadedSize
CODE_UPLOAD215.zip9/3/2020 3:45:00 PM24808
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.