logo       

Re: about animation gif file: msg#00196

python.pygame

Subject: Re: 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





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise