Chapter 10. Games and Sprites

What we'll cover in this chapter:

  • Investigating what a sprite is

  • Creating sprites, and assigning movement and collision behaviors

  • Detecting a collision

  • Creating the zapper game

  • Animating the navigation of the Futuremedia site

This chapter covers sprites and ties them into the related building blocks that you learned about in the last two chapters. You'll look at basic sprite functionality and how to create it, before deconstructing an entire game so that you'll know enough about sprites to start making your own games.

In this chapter you'll create a Flash video game. This isn't the steep cliff-face at the top of the mountain it may seem at first; rather, it's the integration of the concepts you've examined in isolation in ...

Get Foundation ActionScript for Flash 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.