Lighting in Pygame (Tutorial) @DaFluffyPotato
Lighting in Pygame (Tutorial)  @DaFluffyPotato
Uploaded August 2020 | Updated November 2026, 4 days ago
This video covers blit flags in Pygame, which are very useful for lighting effects.

Script in Video:
dafluffypotato.com/static/scripts/pygame_lighting.py

Blit Flag Documentation:
pygame.org/docs/ref/surface.html#pygame.Surface.blit

All my games can be found here:
dafluffypotato.com/projects

Discord: discord.gg/9Qt2GxF

Twitter: twitter.com/DaFluffyPotato

Devlog Playlist:
youtube.com/playlist?list=PLX5fBCkxJmm1F3PofHWCGNH6se7QO7L3d

Outro Music is Pancakes by AdhesiveWombat
soundcloud.com/adhesivewombat

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.

#gamedevelopment #python #pygame
Lighting in Pygame (Tutorial)Adding Penguins to My Online Racing GamePygame Performance Stress TestSo... I just won best graphics with Pygame & MS PaintOnline Racing Game GamedevFramerate Independence - Pygame Tutorial2025 Pygame ProjectsImagine Spending Money on Gamedev #gamedevCloth Physics - Python/Pygame Devlog #4Water, Wind, and Grass - Python/Pygame Devlog #2Pygame Tutorial - Making a Platformer ep. 2: Images, Input, and Collisions2024 Pygame Projects
DaFluffyPotato |

Lighting in Pygame (Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER