SFML community forums

Help => Graphics => Topic started by: aslo on January 25, 2016, 02:05:53 pm

Title: playing Animations or GIFs
Post by: aslo on January 25, 2016, 02:05:53 pm
Hello guys,
is it possible to PLAY animated gifs or animations who are created in "Spriter" or another animation creator progamm in C++ SFML code ?
Title: Re: playing Animations or GIFs
Post by: Ztormi on January 25, 2016, 02:37:44 pm
Pretty sure you can export spritesheets in Spriter. You'd load up the spritesheet texture and handle animations by manipulating Sprite's TextureRect.
Title: Re: playing Animations or GIFs
Post by: Mr_Blame on January 25, 2016, 04:01:24 pm
gif - no, because the imahe decoder of SFML does not support it.
Title: Re: playing Animations or GIFs
Post by: dabbertorres on January 25, 2016, 04:52:56 pm
https://github.com/lucidspriter/SpriterPlusPlus - official implementation
Title: Re: playing Animations or GIFs
Post by: Jesper Juhl on January 25, 2016, 08:23:08 pm
This may be of use to you:

 http://www.bromeon.ch/libraries/thor/documentation/v2.0/group___animations.html
 http://www.bromeon.ch/libraries/thor/tutorials/v2.0/animations.html