An RPG game built using a phaser where a fictional character fights with the dragons with turn-based on every attack.
To play the game follow the instruction below:
Movement instruction:
- Player can use the
left
(←) arrow key to move left. - Player can use the
right
(→) arrow key to move right. - Player can use the
up
(↑) arrow key to jump.
Battle instruction
- player can use up (↑) and down(↓) arrow keys to navigate the menu
- Player can use the
space bar
to select the options from the menu.
- Clone the repo and navigate to the directory
- Install the npm package with
npm install
- Start the server with
npm run start
- Open your browser at http://localhost:8080/ and enjoy the game.
- Follow Gameplay instruction above to play the game.
The features of this game are:
- Player should enter the username to play the game.
- Player can move a character around the map and collide with the dragon to start the battle.
- Player should fight the dragon and get the score.
- When all characters die the game is over and the score will be updated in the leaderboard.
- When a player kills all the dragons they will be back to the map and fight with another dragon.
- Player can view the leaderboard from the main menu. Only the top five players will be displayed on the leaderboard.
- Player can change the options from the options menu to enable or disable background music and sound.
- Player can view the information about the game on how to play from about menu.
This project is hosted on netlify.
- JavaScript
- Webpack
- Phaser
👤 Dipesh Bajgain
- GitHub: @dipbazz
- Twitter: @dipbazz
- LinkedIn: Dipesh Bajgain
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Game was built by following the tutorial Turn based RPG game
- Login scene form used from here
- Assets used in this game are from Open game art and free sound
This project is MIT licensed.