SFML community forums
Help => Graphics => Topic started by: floAr on July 13, 2012, 01:35:16 pm
-
Hey folks!
I´m working on an animation system for a small 2D game with sfml at the moment.
I build my objects on a pixel base, rather than loading them into the engine. I have nearly everything in place right now (You may exspect some screenshots next week) and I am building an editor to allow the users to build own items ingame.
What I want to do now is: Exporting the objects into an animated gif. As far as i know there is no native way in sfml to do this, but does anyone knows a c++ lib which may help me to accomplish this task quick and easy?
This is not a main feature, as i save my objects into my own format and just want to have the gif export to create some eye candy outside the game ;)
Best regards!
floAr
-
i think it will be better to pack frames in binary file (i suppose you want 1 file in result), rather than working with gif, or use spritesheet with xml/binary info about frames
-
I do not plan to use the Gifs in my game. The objects for the game are coded into an xml like file.
I just want to make it possible to export an object to gif, to show it around and post in on websites :)
Because of this gif support is not killer feature for me and i dont want to invest much time into implementing it.
If there is no easy way the feature will be put to rest
-
check it : http://habrahabr.ru/post/52775/
use google translate if you can't understand russian
-
Thank you, this looks quite good.
I will check it out when im back home, as i cant install cmake on this machine.