View Full Version : animated gifs

03-16-2004, 09:41 AM
When I try to use an animated gif in Vizard, I can only see the first frame.

Is there a way to get Vizard to animate an animated gif? If not, is there a way to change which frame is displayed on the fly so that I can animate it with a timer event?

I thought I posted about this already, but I can't seem to find the post. If I did, I apologize for the repitition.

03-16-2004, 09:48 AM

The gif loader does not support animated gifs. You'll need to save each frame to a different file then manually swap the textures to animate it. Take a look at the texture swapping example in the [Vizard20]/tutorial/textures directory. This loads 30 textures and sets up a timer to animate them. Good luck!