Game Development Reference
In-Depth Information
Chapter 3. Animating Sprites
Animation is quite important if we want to create the impression that an object is doing
something naturally. Take a sprite of a campfire for example. If there is only one image of a
flame, it seems like the fire is not burning. However, if you alternate between multiple im-
ages, it will create the illusion that there is something going on there. This is what we are
going to discuss in this chapter. Before we do that, we need to explore the world of time-
based simulations, since that is required for our animations to function properly.
In this chapter, we will cover the following topics:
• Capturing time
• Animating sprites
• Building an animator
Search WWH ::

Custom Search