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

[pygame] Surface palette



Hi;

What makes a Surface have a palette?

I was thinking that using set_palette might be an interesting way of
changing the color of a sprite (instead of creating multiple images)
but when I use get_palette or set_palette, I just get:

pygame.error: Surface has no palette to get
or
pygame.error: Surface has no palette

Any hints?

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail