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

Re: [pygame] blit a list containing surfaces



Take a look at AnimatedSprite() in piman's tutorial :
http://www.sacredchao.net/~piman/writing/sprite-tutorial.shtml

As well as help(pygame.Sprite)
http://www.pygame.org/docs/ref/sprite.html

Without seeing your code, it would be something like:
# where i is your current frame index of the list.
screen.blit( frames[i], dest )

--
Jake