Game Development Community

Animated GIFs?

by David Hassen · in Torque Game Engine · 10/18/2003 (8:22 am) · 8 replies

Hi All,

I have my company logo, as gif, with about 80 frames, 120kb in size. How can I make this into a splash screen? I have tried the animatedBitmapCtrl but it did nothing. Is there another format that I must use?

Thanks
Dave

#1
02/19/2006 (7:34 am)
I have the same problem i hope that anyone help us????
#2
02/19/2006 (7:42 am)
AnimatedBitmapCtrl works for me, however I would think your files would need to be *.png or *.jpg, not *.gif.

You have to use a *.dml file to set up your animation as well, I'm assuming you did this correctly?
#3
02/19/2006 (2:52 pm)
Hi Tim
Can u explain how u did that with AnimatedBitmapCtrl and if u can give example about it because i need it
thankx for ur help and if that can email me: mahmoud_omara@hotmail.com
#4
02/19/2006 (2:53 pm)
And sorry i forget How i use a *.dml file to set up my animation or where i can find any resource about that
#5
02/19/2006 (4:00 pm)
My advice would be to convert it to a real video format and then convert it to Theora.
#6
02/19/2006 (4:06 pm)
To setup a *.dml file, each frame of the image needs to be a seperate file.

mybitmap_1.png
mybitmap_2.png
mybitmap_3.png

(You should be able to use a JPEG, as well.)

Then create a new file, with the extension .dml, and enter the name of each image, on a seperate line. Do not include the extension.

mybitmap_1
mybitmap_2
mybitmap_3

Save, load up GUI editor, and point to the DML file.

You could also do as David mentioned, and go real video format -> theora, but I'm not sure how your file sizes will compare. Once you get a setup going for converting to the theora format, it would probably be much more convenient if your going to need multiple animated images.

-Jase
#7
02/24/2006 (7:44 am)
I wanna ask plz if any one know how i load theora format movie at my startup spalsh screen ?? is there anyone know that and how i load dml files in startupGui? its so important to me i hope any one give me the answer
#8
02/24/2006 (8:20 am)
Look at the theora scripts in the tutorial. Apply it to the startup GUI.