📜  pygame 如何制作透明表面 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.580000             🧑  作者: Mango

代码示例1
#Creates an empty per-pixel alpha Surface
#surface_name = pygame.Surface((x, y), pygame.SRCALPHA)
my_surface = pygame.Surface((500, 500), pygame.SRCALPHA)