|
Re: fade out surfaces: msg#00186python.pygame
On Sun, 2005-09-18 at 09:33 +1000, Luke Miller wrote: > alpha = pygame.surfarray.pixels_alpha(surf) > ValueError: unsupport colormasks for alpha reference array It looks like your Surface uses a colorkey, not perpixel alphas. In that case just use Surface.set_alpha(value). No need for a custom function. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: pygext: Couldn't find matching GLX visual: 00186, Christopher Arndt |
|---|---|
| Next by Date: | PyGame Icon: 00186, Jason |
| Previous by Thread: | Re: fade out surfacesi: 00186, Luke Miller |
| Next by Thread: | Re: fade out surfaces: 00186, Luke Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |