Lee Buckingham wrote:
Instead of using set_alpha(), try using a fill, like:

 backgroundsurface.fill((0,0,0,100))

Note that you will also have to create the background surface with
the SRCALPHA flag, so that it will have a per-pixel alpha channel.

If you don't use that flag, then the surface only has a single alpha
value for the whole surface. This is why the alpha of the image
you're blitting onto it gets lost -- there's nowhere for it to go.

--
Greg

Reply via email to