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

Re: [pygame] Fade to black question...

I think the fade things are best accomplished using the alpha solution mentioned earlier.  If you want stuff like three-way-fades, you'll want surfarray or some such.

surf1 = #whatever
surf2 = #whatever (entirely black or white surface, etc.).
for step in xrange(transition_length):
    #draw surf1 over surf2