Sprite sheets can be used for more than just optimizing how you display static images. Hearkening back to the very first arcade games, your sprite sheets can also be used to contain a sequence of images that make up the individual frames of an animation. When these frames are played back rapidly, what you see is a moving picture.
To see this for yourself, visit http://bit.ly/sprite_animation or check out the following video:
While creating all of this seems complicated, it really isn’t. By the time you reach the end of this chapter, you will have learned how to combine a sprite sheet, a CSS animation, and the
steps easing function to create the example just shown.
This one should be kinda obvious. Before you can animate sprites from a sprite sheet, you first need a sprite sheet. There are a variety of tools out there that help you with this, and my favorite is Flash Professional/Adobe Animate’s Generate Sprite Sheet functionality: