Answers for "how to draw a transparent to pygame"

1

pygame how to make a transparent surface

#Creates an empty per-pixel alpha Surface
#surface_name = pygame.Surface((x, y), pygame.SRCALPHA)
my_surface = pygame.Surface((500, 500), pygame.SRCALPHA)
Posted by: Guest on December-01-2020

Code answers related to "how to draw a transparent to pygame"

Python Answers by Framework

Browse Popular Code Answers by Language