pygame how to make a transparent surface

Solutions on MaxInterview for pygame how to make a transparent surface by the best coders in the world

showing results for - "pygame how to make a transparent surface"
Antonio
17 May 2020
1#Creates an empty per-pixel alpha Surface
2#surface_name = pygame.Surface((x, y), pygame.SRCALPHA)
3my_surface = pygame.Surface((500, 500), pygame.SRCALPHA)