SFML community forums
Help => Graphics => Topic started 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 ?
-
Pretty sure you can export spritesheets in Spriter. You'd load up the spritesheet texture and handle animations by manipulating Sprite's TextureRect.
-
gif - no, because the imahe decoder of SFML does not support it.
-
https://github.com/lucidspriter/SpriterPlusPlus - official implementation
-
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