PDA

View Full Version : TDXImageList + GIF :shock:



hassah
27-08-2003, 12:24 PM
Hey!

Ive gotta question,

What im trying to do, is display an animated gif on a TDxDraw surface.
Is there a way to stuff a GIF image in a TDXImage list, and then animate it ? Or do i have to create a new class say TGifImageList and then copy a gif frame surface to the dximagelist ? :shock:

Cheers!!
Marius

Clootie
27-08-2003, 06:31 PM
Try to look here:
* GifBlender2 (http://clootie.narod.ru/delphi/download_custom.html#D3Dex_GifBlender2)
* GifBlender (http://clootie.narod.ru/delphi/download_custom.html#D3Dex_GifBlender)

It's pity for you, but they are DirectX 8.x and do not use DelphiX, but you should get the idea how to do this.

Traveler
27-08-2003, 10:31 PM
It seems very strange to use gifs to display animated sprites since you don't really have control over the animation.

But then again, at 0.30 am and too much wine, everything seems strange now :drunk: :roll:

hassah
28-08-2003, 07:45 AM
Thanx !

The gifblender is what I needed, the code to extract gif frames that is.

Cheers!!