[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Per Pixel Alpha



Hey Ian,
 would you mind making a quick little runnable script that shows the problem? (i.e. setting up the display and blitting the not alphad surface)

On Feb 8, 2008 9:01 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
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.