User:MrJam003/Animated Sprites Render

Animated sprites
Animated sprites are used all over the Minecraft Wiki to illustrate the in-game appearance of items. Here are a few examples I made:

Creation
The creation process is relatively easy, though time consuming, here is a tutorial on how I personally create my animations:

Simple item animations
1. Get each frames of the desired animation directly from the "minecraft.jar" and name them according to its order of appearance in the animation.

2. Make sure to upscale each frame to the proper size of 32x32 pixels making sure to use Nearest Neighbor interpolation. 3. Using an image editing software capable of exporting animations like GIMP, create the animation. '''Notice: Other dedicated software may have significantly better GIF encoding. See this Talk Page section about gifski'''
 * 3.1 Click and shift-select all of your files.
 * 3.2 Click, select the desired export location and click "Select file type" at the bottom, select and click Export.
 * 3.3 In the window that appears, uncheck "GIF Comment" and check "As animation" as well as "Loop forever". Set the Frame disposal to "One frame per layer (replace)" and input the proper delay per frame in milliseconds (20fps = 50ms), then export the final image.

4. You may use free software like FileOptimizer in order to reduce the size of your file without altering its appearance. By default, FileOptimizer will be "Lossless", meaning it won't degrade the visual aspect of the animation.

-

Enchanted item animations
These animations are usually much longer to create than simple item animations, the process could surely be simplified using JavaScript or something.

I assume you have a moderate level of knowledge about After Affects and know how to accomplish the general steps presented below.

1. Download the required enchantment animation archive using this MEGA link.

2. Import the required files:
 * 2.1 Open After Effects, click and shift-select every frames of the enchantment animation, making sure to check  under the "Sequence Option" section.
 * 2.2 Import the image that will receive the overlay using.

3. Drag the still image twice in the composition and drag the enchantment glint PNG sequence in the middle.

4. Changing the Blending Modes:
 * 4.1 Change the Blending mode of the top layer to.
 * 4.1 Change the Blending mode of the middle layer to.

5. Make sure the timeline includes all 780 or 825 frames of the animation.

6. Render the animation to a lossless PNG sequence.

7. Using an image editing software capable of exporting animations like GIMP, create the animation. '''Notice: Other dedicated software may have significantly better GIF encoding. See this Talk Page section about gifski'''
 * 7.1 Click and shift-select all of your files.
 * 7.2 Click, select the desired export location and click "Select file type" at the bottom, select and click Export.
 * 7.3 In the window that appears, uncheck "GIF Comment" and check "As animation" as well as "Loop forever". Set the Frame disposal to "One frame per layer (replace)" and the delay per frame to 50ms, then export the final image.

8. You may use free software like FileOptimizer in order to reduce the size of your file without altering its appearance. By default, FileOptimizer will be "Lossless", meaning it won't degrade the visual aspect of the animation.

9. Verify your final product in an image viewer and if everything loops seamlessly back to the first frame after around 41 seconds, you are finally ready to upload your creation to the Minecraft Wiki!

Conclusion
As you may see, these animations sure enough do take a while to create and if you don't feel like making them yourself, don't feel bad!