A tutorial on how to use masks in pygame. It can be used for more advanced collisions or filling surfaces/giving them outlines.
If you want to support me: / clearcode
(You also get lots of perks)
Social stuff:
Twitter - / clear_coder
Discord - / discord
Timestamps:
0:00:00 - What are masks?
0:03:05 - Masks with sprite collisions
0:14:53 - Mask collisions without sprites
0:28:15 - Filling a surface / creating an outline
0:50:39 - Coloring overlapping areas with masks
Project files:
https://github.com/clear-code-project...
Watch video Understanding Pygame masks online without registration, duration hours minute second in high quality. This video was added by user Clear Code 04 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 41,100 once and liked it 1 thousand people.