Eng:Animated GIF

Animated GIFs are GIF files with multiple frames that can be played in a sequence, making an animation. Animated GIFs are often used as profile pictures and signatures.

They are very popular all over the Internet due to the fact it's animated unlike other file types, however, are frequently criticized for overuse, lag, and annoyance, especially of flashy ones.

How to Import an Animated GIF into Scratch
The steps on how to import an Animated GIF are listed below:


 * 1) Download the animated GIF.
 * 2) Click on the import button on the sprite's costumes and select the file.
 * 3) The Costumes Pane should create a new costume for every frame of the animation (This may take a while for large *.gif files).

next costume stamp

Animating the GIF
The following lists steps on how to script an animation to script the animation:
 * A simple way to animate the GIF file in Scratch is to use the following script.

when gf clicked switch costume to [1 v] set [fps v] to [16] forever next costume wait ((1) / (fps)) secs


 * One could just as easily swap out the "fps" (short for frames per second) variable for any arbitrary number. A higher value will increase the speed and the value "0" will cause an error. A typical frame rate for movies is 24 FPS.
 * See this script in action here.

Costumes to Animated GIFs
Just like Scratch can turn animated GIFs into costumes, some people want to be able to turn costumes into animated GIFs. This would be very useful as people would be able to export their Scratch animation to another program. Currently, this is not a feature, but there are external and online tools that support this feature, which requires exporting the costumes (can be time-consuming).

What a GIF is
A GIF, the acronym of a graphic interchange format, is an animating lossless format for image files that supports both animated and static images. There is no limit for how many frames there are in a gif but the longer it is, the bigger it is, and sometimes a bit laggier.

GIF Rules

 * 1) One should not use GIFs that will distract users and they must follow the Community Guidelines.
 * 2) Things that are not recommended/allowed are flashy GIFs (such as rapid blinking and switching colors) or GIFs that breaks the Community Guidelines.
 * 3) Using hilarious GIFs are highly recommended as profile images and not on other things as they might distract viewers. If it is questionable, it should probably not be used.
 * 4) Try to use a GIF which relates to the topic. Using random GIFs won't help much unless it involves a user's profile image.