© Zarrar Chishti 2017

Zarrar Chishti, Cross Over to HTML5 Game Development, https://doi.org/10.1007/978-1-4842-3291-0_6

6. Where Are the Zombies?

Zarrar Chishti

(1)Glasgow, UK

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.”

Bill Gates

Let’s recap what our zombies need to do in our game. We need six zombies that will walk toward the screen. Each zombie has a sprite sheet with its walking animation. When a zombie reaches the end of its animation toward the screen, it needs to reset to its original position.

Creating a Zombie: Part 1

First, we need to add the following four sprite sheets to your image folder:

  • zombiesSS_1.png: the scientist zombie walking

  • zombiesSS_2.png: the female zombie walking ...

Get Cross Over to HTML5 Game Development: Use Your Programming Experience to Create Mobile Games 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.