Page 1 of 1

Bitmap collisions somehow?

Posted: Thu May 24, 2018 11:53 pm
by ffive
Is it possible to check bitmaps for collisions (overlapping of opaque pixels) in love2d?

Re: Bitmap collisions somehow?

Posted: Fri May 25, 2018 12:29 am
by pgimeno
I do that in Thrust II reloaded. See https://github.com/pgimeno/Thrust-II-re ... e.lua#L456

Note I use small sprites and a separate collision shape image.

Re: Bitmap collisions somehow?

Posted: Fri May 25, 2018 12:57 am
by ffive
Thank you.