[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Reducing memory usage in pygame
For animation cells, I use PNG strips and then slice them into cells
at run-time (slicing in this case being exactly like any other Python
slice. I think I'm using Numeric to accomplish this, but it's been a
long time since I've had the chance to work on my code.).
On 7/16/05, Glen Wheeler <adsl5lcq@xxxxxxxxxx> wrote:
> >> Making your levels out of repeating tiles saves lots of memory too.
>
> Yep, that's what I do. Highly recommended.
>
> Glen
> L:Pyt E+++ T-- R+ P+++ D+ G+ F:*band !RL RLA-
> W:AF Q+++ AI++ GFX++ SFX-- RN++++ PO--- !Hp Re-- S+
>
>
--
Andrew Ulysses Baker
"failrate"