Understanding Pygame masks
39.7 هزار بار بازدید -
3 سال پیش
-
A tutorial on how to
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: Patreon: clearcode
(You also get lots of perks)
Social stuff:
Twitter - Twitter: clear_coder
Discord - 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...
If you want to support me: Patreon: clearcode
(You also get lots of perks)
Social stuff:
Twitter - Twitter: clear_coder
Discord - 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...
3 سال پیش
در تاریخ 1400/09/13 منتشر شده
است.
39,728
بـار بازدید شده