NextBasic Sprites – Tutorial #4: Pixel-perfect collision detection of any shape
First, I optimise the box collision method described in tutorial #3, then I show a different, shorter method that allows pixel-perfect detection by ignoring the transparency.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed