Outlines in Pygame

Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=7qcnB5fYsIs



Duration: 11:42
19,057 views
424


Outlines are not natively supported in Pygame, but they can be implemented with some tricks using Pygame's mask functionality.

The script that tests different outlining methods:
https://pastebin.com/BSfQzjjZ

The second thing shown:
https://pastebin.com/YXnJfEKN

Relevant Pygame Docs:
https://www.pygame.org/docs/ref/mask.html

Discord: https://discord.gg/9Qt2GxF

Twitter: https://twitter.com/DaFluffyPotato

#pygame

This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.







Tags:
python
pygame
dafluffypotato
pygame tutorial
tutorial
outlines
outlines in pygame
pygame outlines
pygame mask
programming
game development
computer graphics
graphics
gamedev
pygame 2
Outlines in Pygame
pygame borders
borders