Skip to content

The project is a web-based game, where a person collecting stars in the forest has to be aware of the danger zones in different areas. The project was built with JavaScript, HTML/CSS, and webpack.

Notifications You must be signed in to change notification settings

elisha2kyakpo1/RPG-GAME

Repository files navigation

phaser3-RPG game

In this project, I have built a browser game using the phaser game engine. Phaser is an HTML5 game framework that aims to help developers make powerful, cross-browser HTML5 games really quickly. It's a Microverse capstone project, and this time I was required to create a game to put into practice the ES6, Webpack, promises, JSON data, and functional programming. Users can play this game in the browser by using keyboard arrow keys.

Game design

The game has two major files, a config file, and a game-scene file, the config file controls the browser window where the game is displayed, this is done either by webGL or HTML canvas element. The BattleScene file controls the game, from the initialization of keyboard controls to the introduction of stars. Click here for more details.

Phaser world!

Getting Started

Follow this link to play this game in your browser

Setup

To get started, you should first get this file in your local machine by cloning or forking this project or typing in your terminal

  git clone https://github.com/elisha2kyakpo1/RPG-GAME.git

  cd RPG-GAME

  npm install webpack webpack-cli --save-dev

  npm install

  Just run the command below for webpack to compile the code.

  npx webpack --watch

To run the game

Open index.html which is in dist folder

Follow screen display instructions to play the game.

Testing

npm test

Contributing

Contributions, issues and feature requests are welcome! Start by:

Forking the project

Cloning the project to your local machine

cd into the project directory

 cd RPG-GAME

 Run git checkout -b your-branch-name

Make your contributions

Push your branch up to your forked repository

Open a Pull Request with a detailed description to the development branch of the original project for a review


Built With

This project was built using these technologies.

Javascript

Webpack

Phaser

HTML/CSS

ESlint

VSCode editor

Git

Github

jest

Contributors

Elisha Kyakopo

Linkedin: Elisha Kyakopo

Github: @elisha2kyakpo1

Twitter: @elisha1k

Contributions

Contributions, issues and requests are welcome

Show support

Give a star if you like the project

About

The project is a web-based game, where a person collecting stars in the forest has to be aware of the danger zones in different areas. The project was built with JavaScript, HTML/CSS, and webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published