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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access