Skip to content

The project was based on creating a game using Phaser. It was developed using a custom Webpack template. It has features such as a score, and high score, music, the main menu at beginning of the game, a pause button also counter.

Notifications You must be signed in to change notification settings

cvilla714/javascriptcapstone

Repository files navigation

Endless Game

The project was based on creating a game using Phaser. It was developed using a custom Webpack template. The project was created by EMANUELE FERONATO I added extra features such as a new character , a score and high score, music, the main menu at beginning of the game, implemented a pause as well to stop the game and inserted a counter when resuming the game giving 3 seconds for the user to get ready. it also has a scoreboard that displays back to the user the best scores from an API.

screenshot

Built With

  • Phaser
  • Javascript
  • Webpack

Live Demo

Live Demo Link

Getting Started

You can get a copy of this game by clicking on top right corner the green button that says code

Prerequisites

  • NPM
  • Webpack
  • Node.js

Setup

In your terminal you can type the following commands git clone git@github.com:cvilla714/javascriptcapstone.git Next you can type in your terminal cd javascriptcapstone and you will be able to get inside the directory

Install

Please after getting in the directory you just downloaded just type in npm install this will install all of the dependecies for the project

Usage

In order to run the game just type in npm run start this will open a new web browser and open the game for you You will be taken to the Menu page where you will choose to

  • Play The Game
  • Look at the Best Score
  • Exit the game

screenshot

How to Play the Game

Once you click on Play , the game will start.

  • To play it you can use your mouse to click and the character will jump or you can use the spacebar and will trigger the jump as well.

  • The objective of the game is to collect as many coins as you can this will increase your score

  • The Best Score will be kept saved in memory until a next Best Score is achieved

  • You can pause the game by pressing on the button below the Best Score

  • In order to resume the game you can select from the menu to continue and a counter will show up letting you know that you will have 3 seconds to get ready to play again.

  • If you choose to exit the game and start a new one you can do it by selecting exit and then selecting play

Run tests

To run the test environment you can just need to type in your teminal npm run test

Authors

👤 Cosmel Villalobos

🤝 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

  • EMANUELE FERONATO I used his template for the game and then added features to it
  • Filip Jerga I applied what I learned from this course Game Development in JS - The Complete Guide (w/ Phaser 3)

📝 License

This project is MIT licensed.

About

The project was based on creating a game using Phaser. It was developed using a custom Webpack template. It has features such as a score, and high score, music, the main menu at beginning of the game, a pause button also counter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published