- Home /
is it possible to generate an animated gif on the run ?
we are planning an advergame or social app for a client, in a part of the experience the user should be able to download an animated gif of an action made during the game, it is for a campaign, thanks in advance kako
Unity does not play gifs. You can emulate a gif by playing a sequence of images. Or you can put the images in a sprite sheet and play them:
http://wiki.unity3d.com/index.php/Animating_Tiled_texture_-_Extended
And you can create, modify, or download textures at runtime.
i know unity does not handle gifs, maybe i didnt write correctly, we need the application generates a gif on the run, by example, it is a game, you build an avatar, then the avatar dances, and the user would be able to donwload and share that dancing animation of his avatar in gif format so he can share it thru facebook or send it thru email thanks k
Since I missed the point of your question, I've converted my answer to a comment. Yes it is possible since the GIF file format is public and Unity gives you access to texture data, but I've never seen any code or plugins to help with this process.
$$anonymous$$aybe something useful here? http://stackoverflow.com/questions/1196322/how-to-create-an-animated-gif-in-net
Your answer
Follow this Question
Related Questions
Adding animated gifs as textures for polygon models 1 Answer
AnimatedGifDrawer 0 Answers
Why is unity not compatible with .gif files? 1 Answer
Image Sequence in unity without using .gifs for a crowd 2 Answers
Does Unity take GIF? 1 Answer