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

Re: [pygame] Reducing memory usage in pygame



On Sun, 17 Jul 2005 09:45 am, Luke Miller wrote:
> My pygame game uses individual PNG files for each cell of animation,
> but I'm finding that for complex sequences this is taking up a lot of
> memory (300mb+), as well as taking some time to load.

Are you using RGB or indexed images? The latter will use less memory. 
Significantly so if you use fewer colours.


    Richard

Attachment: pgpJeSCWV5yHr.pgp
Description: PGP signature