Collision detection using Mask

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
reno57
Prole
Posts: 17
Joined: Thu Apr 14, 2016 9:46 pm

Collision detection using Mask

Post 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.
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

Re: Collision detection using Mask

Post by pgimeno »

My Thrust II Reloaded project handles pixel-perfect collisions. See my sig.
reno57
Prole
Posts: 17
Joined: Thu Apr 14, 2016 9:46 pm

Re: Collision detection using Mask

Post by reno57 »

Thanks pigmeno. I will look at your code.
Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests