[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Per Pixel Alpha
SurfaceOneTwelfth = pygame.Surface((380,219),SRCALPHA)
for x in range(380):
for y in range(219):
SurfaceOneTwelfth.set_at((x,y),(255,0,0,0))
Doesn't work. I see a black surface.