CodeBase - Pixel perfect sprite collision using alpha

Return to the CodeBase listing

Category: Sprite

Version: 2.0

0
0

Information

Uploaded: 17th Sep 2003 13:34

Modified: 13th Apr 2007 17:34

Author:  IanM

Summary

Pixel perfect sprite collision using the alpha value

Full Description

This sprite collision routine is pixel perfect. It only works with sprites that have not been rotated or scaled, and only if they are using 32 bit and have not have their texture coordinates changed ... still, it covers what most people do with sprites :)<br /> <br /> Now includes a correction for offsets, and the ability to specify a minimum alpha level to be considered for collision.

Comments

No comments yet.