The objective of this project was to build a platform turn-based RPG game and implement it using Phaser.
- Open your terminal.
- Navigate to the desired location to download the contents of this repository.
- Copy and paste the following code into your terminal :
$ git clone https://github.com/pipe2442/phaser-rpg-javascript.git
- Run
bash cd phaser-rpg-javascript
- Install your dependencies
$ npm install
- run
to bundle scripts with webpack a static module bundler for modern JavaScript applications
npm run build
- Run tests with the following command:
npm run test
- You should pick as many rupees as you can until de majoras mask appears.
-
- If the masks touch you two dragon would be summoned and you will have to fight them.
- Move Forward = Right Key (Keyboard).
- Move Backward = Left Key (Keyboard).
- Jump = Up Key (Keyboard).
- Select Dragon to Attack = Left Key (Keyboard)
- To Attack = Space Bar (Keyboard)
This game was designed on an initial, quite complex, webpack configuration specific for Phaser3. This allowed me to investigate Phaser and its tools from a specific perspective. The entire game was build based on phaser making your first game tutorial and Zenva How to Create a Turn-Based RPG in Phaser 3 tutorials.
The player can move around the map and jump using the arrow keys. The idea is to get as many rupees as possible to get the most points, each time the player gets touched by the enemy he will be spawned at a different scenario and a battle between the player and 2 dragons will begin.
- Make a 2 scene game (World & Battle scenes). [Implemented]
- Each Character must have responsive health bars. [Implemented]
- Make High Score Board. [Implemented]
- Make Title and Menu scenes [Implemented]
👤 Luis Felipe Angulo Torres
- Github: pipe2442
- Twitter: @donCodigo_
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project! 🤝
This project is MIT licensed.