RPG Game - Javascript

The objective of this project was to build a platform turn-based RPG game and implement it using Phaser.


screenshot

Built With

Live Demo

Getting Started

  1. Open your terminal.
  2. Navigate to the desired location to download the contents of this repository.
  3. Copy and paste the following code into your terminal :
    $ git clone https://github.com/pipe2442/phaser-rpg-javascript.git
  4. Run bash cd phaser-rpg-javascript
  5. Install your dependencies
    $ npm install
  6. run
    npm run build
    to bundle scripts with webpack a static module bundler for modern JavaScript applications

Testing

  1. Run tests with the following command:
    npm run test

Project Screenshot

screenshot screenshot

Game Instructions

screenshot

Main Instructions

  1. You should pick as many rupees as you can until de majoras mask appears.
    1. If the masks touch you two dragon would be summoned and you will have to fight them.

Game Controls

  1. Move Forward = Right Key (Keyboard).
  2. Move Backward = Left Key (Keyboard).
  3. Jump = Up Key (Keyboard).

Battle Scene(Second Scene)

  1. Select Dragon to Attack = Left Key (Keyboard)
  2. To Attack = Space Bar (Keyboard)

Design Process

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.

Objectives:

  • 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]

Authors

👤 Luis Felipe Angulo Torres

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project! 🤝

Acknowledgments

📝 License

This project is MIT licensed.