- About
- Live-demo
- Features
- How to play
- Game images
- Main Menu
- Score scene
- Playing Scene
- Submiting score
- Getting started (Development)
- Launch the application
- Author
- Show your support
- Acknowledgments
- Issues
- 📝 License
In this application, I created an RPG game in which the user controls Itachi (from the anime of Naruto), collect coin, and try to avoid the bombs.
To build this application we used:
- Javascript ES6
- Webpack
- Html/CSS
- Phaser 3
- Linters ( eslint and stylelint)
- Moving the character.
- Increasing the speed and jumping abilities.
- using fireball technic to burn bombs.
- Submit score.
In the beginning, Itachi has 100 points of life (hp). The user can use the arrows (left and right) to run, (up) to jump. each time he collects a coin he gets 10 points in score. If he get 12 coins the power points will be increased by 1, his speed and jumping abilities will increase and a bomb will be added to the scene. If the player gets touched by a bomb he will lose 20 points of score and 12 points of HP. If Itachi has 3 points of power he can use the fireball technic to burn the bombs by clicking ("Space"). if the HP arrives at 0, Itachi dies and the user loses.
To get a local copy of the repository please run the following commands on your terminal:
$ git clone git@github.com:ABDELLANI-Youcef/javascript_game.git
$ cd javascript_game
$ git checkout development
$ git branch game-branch
$ git checkout game-branch
After making the local copy of the repository:
- get inside the repository folder;
- setup the dependencies of the project: in the terminal run:
npm install
- enter the command:
npm run start
. - then you get the game in the localhost in your web browser.
Youcef Abdellani
- Github: @ABDELLANI-Youcef
- LinkedIn:LinkedIn
- Twitter:@YoucefAbdellani
Contributions, issues ,and feature requests are welcome!
Give an ⭐️ if you like this project!
- Odin Project
- Hat tip to stackoverflow community.
- Hat tip to Microverse TSE for Code Review
- Hat tip to sprite sheet database for sprite sheet
- Hat tip to anyone whose code was used
If you would like to report an issue the link
All source code is available jointly under the MIT License. See MIT licence for details.