A platform game based on Dark Blue from Eloquent JavaScript
- Four levels, the goal is to collect coins while avoiding touching the lava
- The character has a total of three lives, the game starts over at level one if the player failed
- Move the character with the arrow keys
- Press ESC to pause/unpause the game
- Add lives image
- Add text indicating number of coins collected in each level
- Add background music and sound effects (from Super Mario World Original Soundtrack)
- Implement the ranking system
- Implement the level editor
Follow the instructions below to set up the environment and run this project on your local machine
- Node.js
- Download ZIP or clone this repo
> git clone https://github.com/rubychi/eloquentjs-a-platform-game.git
- Install dependencies via NPM
> npm install
- Install gulp package globally to execute gulp command on your machine
> npm install gulp -g
- Build the production version (all files will be put inside the folder "docs")
> gulp build
- Navigate to the folder "docs" and open index.html
- vanilla javascript
- gulp
- Sound clips from The Mushroom Kingdom