How can I draw a rectangle that has a color with an alpha? I have:
windowSurface = pygame.display.set_mode((1000, 750), pygame.DOUBLEBUF) pygame.draw.rect(w
A way to do this is to instead of drawing a rectangle with pygame, you could create an image of a transparent rectangle by using a drawing program such as paint.net or Fire Alpaca.