Giter VIP home page Giter VIP logo

rpg_game's Introduction

Rpg turn based game using Phaser 3 and an API provided by @microverse

This is a 5 days project, to apply all knowledge obtained during Javascript curriculum.

Demo down below

phaser-3-game

Demo

How the game was design

The first step was to look for What is an RPG game?, then I looked for some inspiration, watching videos like Top 10 NES RPG games. After all this process, I started to brainstorm and just picked, the ones that looked realistic to build in 3 days, because 2 days were for study. Also, after reading the following readings, feel free to check it out: The 3 Primary Principles of Game Design, Beginner’s Guide to Game Mechanics, The Ultimate Guide to Level Design, I generated the following questions to myself: who is going to be the main character?, who is going to be the bad guy?, how many bad guys will be there?, what type of skills?, what is the objective of the game?, how the user will interact with the game?

And so on. This bunch of questions helped a lot to design the game. Also checking many resources in Open Game Art, gave me and inspired me with more ideas.

How the game was developed

Since I'm a very newbie with Phaser 3, I checked a lot of tutorials on how to make a turn-based RPG game. Some of them were the base to build the final game. Also, I reached to other developers when I struggled. Always ask for help!.

Built With ✨

  • JavaScript ECMA6
  • Node.js v11.9.0
  • Webpack 4.41.2
  • Phaser 3

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Node.js installed This project is only tested with node v11.9.0

  • System dependencies Windows/ Mac

Local Install

Clone project and run: npm install

After all dependencies install, run: npm run start

The project runs on http://localhost:8080/

How to play

Use arrow keys to move (up, down, left, right). When you enter onto a battle, pulse left arrow to select an enemy (name of the enemy will turn yellow!), then you can attack it pressing left arrow or space bar 😃. Good luck since these enemies randomly change their attack, sometimes you will handle weak enemies, other times they will be stronger (they can kill you in 2 hits).

How to contribute and participate

Fork this repo and submit a PR for review and potential merge to main branch. Feel free to leave feedback. 😄

Authors

👨‍💻 Gabriela Cruz

rpg_game's People

Contributors

viricruz avatar

Stargazers

Ceci Benitez avatar Ajanaku Temitope Grace  avatar Umair Arshad ✔ avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.