VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Pixel Collision Detect

by Richard Lowe (3 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

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.

API Declarations
CreateCompatibleDC
DeleteDC
CreateCompatibleBitmap
GetPixel
BitBlt
SelectObject
DeleteObject

Rate Pixel Collision Detect

Download Pixel Collision Detect

Download Pixel Collision Detect (24 KB)

Pixel Collision Detect Comments

No comments have been posted about Pixel Collision Detect. Why not be the first to post a comment about Pixel Collision Detect.

Post your comment

Subject:
Message:
0/1000 characters