How to Use Pygame Masks for Pixel Perfect Collision

In this video I will explain how to check for collisions in Pygame using masks. I’ll go over two different methods which are using the .overlap() and .spritecollide() functions I’ll also explain how to optimise the collision check to make it run more efficiently. For the full source code and step by step explanation head over to my website:
Back to Top