Page 1 of 1

Collision detection using Mask

Posted: Sat Feb 24, 2018 4:39 pm
by reno57
Hi all,

I'm trying to know if there is a possible way to do a collision detection using bitmap masks to achieve a pixel perfect collision system without to much calculations.
According to what i've seen in the forum, it seems that love2D can't manage bitmap mask.
If it's true, do you know another way to achieve pixel perfect collision between irregular shapes.

Thanks in advance.

Re: Collision detection using Mask

Posted: Sat Feb 24, 2018 7:35 pm
by pgimeno
My Thrust II Reloaded project handles pixel-perfect collisions. See my sig.

Re: Collision detection using Mask

Posted: Sat Feb 24, 2018 8:28 pm
by reno57
Thanks pigmeno. I will look at your code.