Inspiration
This game was inspired by Plants vs Zombies. I used to play the game when I was young, and I really liked the feeling of defending against zombies.
The Game
You have to use WASD or the arrow keys to move around. You can click or hold to shoot. If you touch a zombie, you lose your health. Your goal is to shoot zombies, win rounds, and upgrade your abilities. The abilities you can upgrade are Bullet Speed, Health, Player Speed, Damage, and Fire Rate.
How we built it
I built it using Javascript and the Canvas API.
Challenges we ran into
One challenge I ran into was making the UI. It was my first time using Canvas API, so my code was somewhat disorganized. Canvas also doesn't have a built-in library for making buttons. I had to make the buttons myself.
What I learned
I learnt how to use the Canvas API in JavaScript.
What's next
I hope to add a wave feature like in Plants vs Zombies. I also hope to add more types of zombies to make the game more energetic.
Built With
- canvasapi
- javascript



Log in or sign up for Devpost to join the conversation.