This is a little Zelda game I built using a new JavaScript library called Kaboom.js. I've been wanting to use Kaboom for a few months now and I've finally found time to play around with it. Kaboom is a JavaScript library that makes it really easy to build video games. This was a lot of to make and I'm looking forward to working with it again.
- Clone my repo at https://github.com/davidmstanleyjr/zelda.
- CD into it and select "run in default browser".
- HTML
- CSS
- JavaScript
- Kaboom.js
This project was fun but difficult. What made it difficult was the syntax that Kaboom wants you to use. It was innate methods that you have to use if you want to do certain things like create collision detection or start the game. I also had trouble getting Link to kill both types of enemies. I initially wrote logic that was supposed to destroy both enemies and this was contained in one function but it only killed one type of enemy. So I had to copy and paste the logic and switch out the names in order to kill the other enemy type. It was frustrating but I learned a lot.
Here is a link to the deployed site https://davids-zelda-game.netlify.app/