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

Re: [pygame] about animation gif file



flya flya wrote:
some gif file has many frames to paly animation,Can pygame load these
frames? and do the animation?

Yes. Load the GIF as a Surface. Make a bunch of Rect objects representing where in the image each frame is. Use those as clipping regions.


Kris