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

Re: [pygame] palletized surfaces



don't quote me on this as i have never used pallete in python and not
having seen you code......

try taking a look at this..... as far as i know you have t create the
pallet then create a frame to use it

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/528870

On Nov 13, 2007 2:13 PM, Jason Ward <nyad55@xxxxxxxxx> wrote:
> Hi
> whenever I am calling get_pallete it tells me that the surface is not
> palletised. But I have no clue how to make a surface
> palletised, I can't find it in the docs.
> Would surfarray be faster than using palletes to update entire surfaces?
> Should I use numpy, surfarray, numeric or palletes to update entire
> surfaces? (the fastest is the best imo)
>