Sprite Mask Magic! - PyGame Thursdays 31

in #pygame14 days ago

In this video we'll add a Sprite Mask to our Platformer game with PyGame and Python.

Our player doesn't fall off the cliff when they hang over, because the transparent part of the image is still touching.

We can get around that problem by using Sprite Masks to mask just the outline of the player and use that for our collision detection.

✅ Watch The Entire PyGame Playlist
https://bit.ly/3PSSreL

▶️ Get The Code:
https://bit.ly/469BaDR

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN