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

[pygame] Cycling images



Could someone point me to an example for cutting up an image into pieces? something like

image = partOfOtherImage(32,48,16,16)

That way I can have one bmp with all my sprites in it and just cut out the parts I want to use for the current purpose. It also would make sprite animation a lot easier.