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.
- Phaser
- Javascript
- Webpack
You can get a copy of this game by clicking on top right corner the green button that says code
- NPM
- Webpack
- Node.js
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
Please after getting in the directory you just downloaded just type in npm install
this will install all of the dependecies for the project
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
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
To run the test environment you can just need to type in your teminal npm run test
👤 Cosmel Villalobos
- Github: @cvilla714
- Twitter: @kckeyti
- LinkedIn: Cosmel Villalobos
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- 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)
This project is MIT licensed.