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.txtSpecifically, look at Sprite.BuildAnimationFrames(), which chops a single "sprite sheet" image into many animation frames defined by Pygame.rect.Rect objects.
Kris