DaFluffyPotato | Outlines in Pygame @DaFluffyPotato | Uploaded January 2020 | Updated October 2024, 1 hour ago.
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:
pastebin.com/BSfQzjjZ
The second thing shown:
pastebin.com/YXnJfEKN
Relevant Pygame Docs:
pygame.org/docs/ref/mask.html
Discord: discord.gg/9Qt2GxF
Twitter: 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.
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:
pastebin.com/BSfQzjjZ
The second thing shown:
pastebin.com/YXnJfEKN
Relevant Pygame Docs:
pygame.org/docs/ref/mask.html
Discord: discord.gg/9Qt2GxF
Twitter: 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.