Malcolm Ryan wrote:
Does anyone have any example code for displaying animated sprites with pygame?

Hi. As a quick answer, you might find one function from this code helpful:
http://kschnee.xepher.net/code/Nixie.py.txt

Specifically, look at Sprite.BuildAnimationFrames(), which chops a single "sprite sheet" image into many animation frames defined by Pygame.rect.Rect objects.

Kris

Reply via email to