DaFluffyPotato | Masks (and Pixel-Perfect Collisions) - Pygame Tutorial @DaFluffyPotato | Uploaded June 2022 | Updated October 2024, 1 hour ago.
Masks are one of the more advanced tools that Pygame provides. They allow you to do all sorts of special graphical effects and mathematical calculations such as per-pixel collisions.
Related Pygame Documentation:
pygame.org/docs/ref/mask.html
Code Written in Video:
dafluffypotato.com/static/scripts/pygame_masks.zip
Patreon:
patreon.com/dafluffypotato
Discord:
discord.com/invite/9Qt2GxF
Potato Tier Patrons:
f0ursqu4r3
Abeastsgaming
Agent Effe
Chris Birster
Dale Topley
Eivind Teig
GaryTMSFruitcake
kirat=1
MiggyDoes
Levi Jeske
Hafizur Rahman
laurent
#python #pygame #gamedev
Masks are one of the more advanced tools that Pygame provides. They allow you to do all sorts of special graphical effects and mathematical calculations such as per-pixel collisions.
Related Pygame Documentation:
pygame.org/docs/ref/mask.html
Code Written in Video:
dafluffypotato.com/static/scripts/pygame_masks.zip
Patreon:
patreon.com/dafluffypotato
Discord:
discord.com/invite/9Qt2GxF
Potato Tier Patrons:
f0ursqu4r3
Abeastsgaming
Agent Effe
Chris Birster
Dale Topley
Eivind Teig
GaryTMSFruitcake
kirat=1
MiggyDoes
Levi Jeske
Hafizur Rahman
laurent
#python #pygame #gamedev