Hour 17. Animating the Appearance of SpritesYou're hopefully fairly comfortable with using sprites to create graphical objects that can move around the game screen and interact with each other. You've seen sprites in action in several programs' examples and a couple of complete games . One thing you might have found missing in the sprites that you've worked with is that they don't have any capability to change their appearance. Granted, being able to move around is certainly a huge benefit, but it would also be nice for some sprites to change their appearances every so often. For example, the guys moving across the screen in the Battle Office game would look much better if their legs were moving to give a more realistic impression that they were running. This hour takes a look at how to add frame animation features to your sprites so that their appearances can change. In this hour, you'll learn:
|