Answers for "how to make surface background transparent 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 make surface background transparent pygame"

Python Answers by Framework

Browse Popular Code Answers by Language