13: AAAAH! More Zombies

For today’s hack I’m revisiting yesterday’s zombie game again. With a full re-write to un-bodge the implementation.

There are a couple of things I’ve changed in the re-write:

  • Zombies get faster to you the closer you are to them
  • Health/death added!
  • Zombies have full bodies now

And a couple of things that didn’t make it in to the re-write:

  • Can’t kill the zombies with your death stare anymore
  • Game doesn’t restart automatically

This time I’m using a separate 2D layer (some HTML!) outside of the renderer for the red damage overlay and the “You are dead” message.

I think this hack needs a couple more hours of attention before it’s really fun, but it’s getting there.

Cardboctober day 13

View this Cardboctober hackView the source code on Github

View the other submissions for day 13 on the Cardboctober website.

Check out all of my other Cardoctober posts here: /cardboctober.


Want to comment? You can do so via Github.
Comments via Github are currently closed.


Want to reply? I've hooked up Webmentions so you can do so by sending a Webmention, or a Tweet mentioning this post.

Sent a Webmention but it's not showing up below? It could take a little while for brid.gy to pick it up. Webmentions are cached locally for 30 mins before attempting to fetch new Webmentions.