Skip to content

patriciachrysy/javascript-video-game

Repository files navigation

JavaScript Capstone Project - Platform Game

Treasure Hunt

Final project in the Microverse JavaScript Curriculum

Implementation of a Jump-Based Endless Runner Game built with the Phaser 3 framework

About The Project

The main objective of this project was to build a platform game.

Live version of the project: Live version

Project Link: Javascript-Capstone

The game

  • A simple game in 2D
  • the main character must fovercome allthe dangers and obstacles to get the treasure box
  • he has 0 power in the begining but he can pick up magic flower to get them and he can throw fire on the badies
  • he must either avoid badies or throw fire at them to make them disapear
  • he dies if he colides with badies
  • he has to collect magic flowers to recharge his powers
  • The game ends when he finally collects the treasure box.

How to play

  • When the game starts, choose some options and then click on the menu button
  • Afterward, click on the play button and written your name in the box
  • Use key left and right to move the player horizontally, up to jump, and space to throw fire on badies

Get a local copy

npm required - get npm

Installation

You can always use the live version link above to play right away or install it locally using these steps:

Clone the repository by running this command in your terminal

git clone https://github.com/patriciachrysy/javascript-capstone.git

Navigate into the newly created folder

cd javascript-capstone

Get the dependencies needed for the game

$ npm install

Start the server and the fun

$ npm run start

Visit this link to see the game in your browser

http://localhost:8000/

Run Jest tests

npm run test

Design

All of the sprites, backgrounds, buttons and the background music can be found on OpenGameArt

Landing Scene

screenshot

Game Scene

screenshot

Credits Scene

screenshot

Leaderboard Scene

screenshot

Technologies used

Contact

👤 Manezeu Patricia Chrystelle

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

About

A simple adventure game in 2D with Phaser3 and ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published