Play animated gif using libgdx

How to play an animated gif file using libgdx?

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

This is normal if I need to use / build a decoder like this . But I need this for libgdx.

+6
source share
1 answer

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

There seems to be no direct way to play animated gifs in libgdx.

+3
source

Source: https://habr.com/ru/post/951186/


All Articles