Feb-12-2017, 01:27 PM
you have to create a new surface the same size as the screen, then set the alpha, and blit that surface at the top left. Im in a rush currently but something along the lines of
overlay_bg = pg.Surface(screen_rect.size) overlay_bg.fill(0) overlay_bg.set_alpha(200) ... #main loop screen.blit(overlay_bg,(0,0))
Recommended Tutorials: