pygame: transparency question

Terry Reedy tjreedy at udel.edu
Tue May 29 13:38:20 EDT 2012


On 5/29/2012 11:33 AM, Scott Siegler wrote:
> Hello,
>> I have a surface that I load an image onto. During a collision I
> would like to clear out the images of both surfaces that collided and
> show the score. Is there a function call to clear a surface with an
> image?
>> One way I was thinking was to fill the surface with a color and then
> set that color as the colorkey. Is this the only way or does pygame
> have a function to make the whole surface transparent?

I recommend that you ask this on the pygame list, also accessible via 
news.gmane.org.
-- 
Terry Jan Reedy


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /