Understanding Pygame masks
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: https://www.patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - https://twitter.com/clear_coder
Discord - https://discord.com/invite/a5C6pYw2w5
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-projects/MaskTutorial
Видео Understanding Pygame masks канала Clear Code
If you want to support me: https://www.patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - https://twitter.com/clear_coder
Discord - https://discord.com/invite/a5C6pYw2w5
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-projects/MaskTutorial
Видео Understanding Pygame masks канала Clear Code
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![The ultimate introduction to Godot 4](https://i.ytimg.com/vi/nAh_Kx5Zh5Q/default.jpg)
![The ultimate introduction to modern GUIs in Python [ with tkinter ]](https://i.ytimg.com/vi/mop6g-c5HEY/default.jpg)
![Creating a Mario Maker style game in Python](https://i.ytimg.com/vi/qYomF9p_SYM/default.jpg)
![Creating a Stardew Valley inspired game in Python](https://i.ytimg.com/vi/T4IX36sP_0c/default.jpg)
![Creating 10 Apps in Python [ with PySimpleGui ]](https://i.ytimg.com/vi/kQ8DGP9p2LY/default.jpg)
![The complete guide to Python](https://i.ytimg.com/vi/mDKM-JtUhhc/default.jpg)
![Image Manipulation in Python [ A complete guide to Pillow ]](https://i.ytimg.com/vi/5QR-dG68eNE/default.jpg)
![Understanding decorators [Python tutorial]](https://i.ytimg.com/vi/nVdF7QT-Ggg/default.jpg)
![Understanding classes and object-oriented programming [Python Tutorial]](https://i.ytimg.com/vi/_vr5faCXFo8/default.jpg)
![A guide to level creation with Tiled [ + how to use it with pygame ]](https://i.ytimg.com/vi/N6xqCwblyiw/default.jpg)
![Breakout in python](https://i.ytimg.com/vi/4tVC1vhxiao/default.jpg)
![Collisions between moving objects](https://i.ytimg.com/vi/W9uKzPFS1CI/default.jpg)
![Creating a Flappy Bird Clone in Python / Pygame](https://i.ytimg.com/vi/VUFvY349ess/default.jpg)
![Understanding framerate independence and deltatime](https://i.ytimg.com/vi/rWtfClpWSb8/default.jpg)
![The GREATEST Flappy Bird clone #shorts](https://i.ytimg.com/vi/QPEYgKGxZ5Y/default.jpg)
![Cameras in Pygame](https://i.ytimg.com/vi/u7LPRqrzry8/default.jpg)
![Creating a Zelda style game in Python [with some Dark Souls elements]](https://i.ytimg.com/vi/QU1pPzEGrqw/default.jpg)
![Easy pathfinding in python [almost without math]](https://i.ytimg.com/vi/8SigT_jhz4I/default.jpg)
![Debugging in Pygame](https://i.ytimg.com/vi/T9vYgZJCmeI/default.jpg)
![Finishing the mario platformer](https://i.ytimg.com/vi/hEL3wO-EOZg/default.jpg)