This tutorial is kind of a long one, so I've broken it up into
three separate pages. In this first page, we will look at what a
texture atlas is, and how it can be used, as well as preparing
our content for the rest of the tutorial. On the second page, we
will create a class that will handle a texture atlas, and
finally, on the third page, we will use this class to do 2D
animation with a texture atlas. In other tutorials, we have done
a lot of work with basic 2D drawing. Of course, one of the
things people want to do next is 2D animation. It is pretty easy
to simply draw a sprite at different locations on the screen to
show an object moving around. But imagine that we have a game
where the player controls a character that walks around on the
screen. In addition to having the character move, we would also
want it to look like it is walking. This is commonly done using
a technique called a texture atlas or texture strip. This
tutorial will walk us through the process of doing 2D animation
using a texture atlas,