Advertisement

Pixel perfect collision detection

Started by February 01, 2000 12:22 AM
0 comments, last by Rene 24 years, 8 months ago
How can i do pixel perfect collision detection. -Thanks
If it's 2D do an AND on the masks of the sprites. If the answer isn't empty, you have a collision.

(this also works with regions if using vector graphics)

E:cb woof!

Edited by - dog135 on 2/1/00 4:03:01 PM
E:cb woof!

This topic is closed to new replies.

Advertisement