[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] sprite library



hey folks. i've been playing with a sprite library for the
past few weeks. i've got something that's pretty exciting.
it's very powerful, yet extremely flexible. for example,
the included sprite-ized-aliens runs with updaterects
without any visible dirtyrect management. plus it runs
about 8% faster than a comparable version without the
sprite lib.

you can grab and play with it here
http://www.pygame.org/ftp/contrib/sprite-0.1.zip

here's the text from the readme...
-----------------------------------------------------
Sprite Module,  v0.1

Pete "ShredWheat" Shinners,  pete@shinners.org
September 23, 2001


this is my sprite module. i put it together for use with pygame.
the plans are to eventually roll this into the pygame library
itself, but until it has been tested and tuned i'm not quite
ready for that yet. there are lots of docstrings and comments
in the code (see the sprite.html file for html'ized docstrings).

i'm pretty pleased with this sprite module. when i started to
play around with this idea, i wasn't so sure it was all going
to work. but after many revised ideas later, here is something
that does everything i wanted, yet is extremely flexible.

you'll probably learn and understand more by looking over
the included 'spritealiens' example. i'm excited to help
people out with it and get to test it out with other code.

anyways, enjoy it, this is released to public domain, so
do what you please with it.



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org