This project is a capstone project required by Microverse, after completing the javascript curriculum. This game is built with JS ES6 and Phaser3.
- The player can navigate to the following scenes after the game loads
Credits
: This is where we give credits to the Microverse team, opengameart, and the creator of the game.Options
: We can toggle the background music on/off.Play
: We navigate the guide scene and understand how to play the game before proceeding. - A player can fire a laser to kill the enemy attacking.
- The enemy can also fire laser and kill the player.
- After the game is over or the stage is completed, the player has the option to
restart
game/submit
score.
- Improve the UI
- Add more levels to the game
- Each level should have a more attacking enemy
At the end of day 2, I have learned the basics of Phaser3. Setting up and creating scenes, adding objects to the scenes, adding collision and assets to the scenes. The rest of the days are for the following:
- Implement the logic behind the game.
- Implement the service API to record and show user name and score.
- Implement test for our Model and API
- Javascript ES6
- Phaser3
- Babel
- Webpack
To get a local copy up and running follow these simple example steps.
git clone https://github.com/addod19/js_game_capstone.git
cd js_game_capstone
git checkout shoot
npm i
npm start
npm run build
- Use live server on VSCode to open the index.html with your favorite browser
- Node.js is required to install dependencies and run scripts via
npm
. - A modern browser
Command | Description |
---|---|
npm install |
Install project dependencies |
npm start |
Build project and open web server running project |
npm run build |
Builds code bundle with production settings (minification, uglification, etc..) |
👤 Daniel Larbi Addo
- Github: @addod19
- Twitter: @DanielLarbiAdd1
- Linkedin: Daniel Larbi Addo
- Email: Daniel Larbi Addo
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
- Fork it (https://github.com/addod19/js_game_capstone/fork)
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Give us a ⭐️ if you like this project!
- Microverse
- Developers at Open Game Art; Marcus Rasseli, Binngi, Aljazk, Sogomn, Redshrike, Qubodup for the characters, sprites, laser, sound, background music etc