Search code examples
androidiosanimationlibgdxanimated-gif

Playing animated gif with libgdx


How to play animated gif file with libgdx?

I know it uses spriteanimation, but I need to play GIF files because they save a lot of space.

It is okay if I have to use/build a decoder like this. But I need it for libgdx.


Solution

  • Update: There is a solution to this problem: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=10351&p=46673#p46673

    Looks like there is no direct way to play animated gifs in libgdx.