A browser game built with Phaser 3. The game consists of 3 levels with varying difficulties. It is responsive across different computer monitors, and features alluringly haunting music, paired with beautiful designs. The game makes use of the MatterJs physics engine, and includes custom polygon collisions for objects. The game includes a cutscene, 3 different levels, a leaderboard, and a creditscene.
- To move left: Press the A key or the left arrow key
- To move right: Press the D key or the right arrow key
- To jump: Press the W key or the up arrow key
- HTML
- CSS
- JavaScript
- Webpack
- NPM
- Phaser 3
To get this project set up on your local machine, follow these steps:
- Open Terminal.
- Navigate to your desired location to download the contents of this repository.
- Run
git clone https://github.com/El-Potato-Slayer/js-game.git
. - Run
cd js-game
or open thejs-game
folder using your file explorer. - Run
npm install
- Run
npm run start:dev
- Open
http://localhost:8080/
within your browser
To run the tests, follow these steps:
- Ensure you are in the project root directory
- Ensure you ran
npm install
- run
npm run test
Chad-Leigh van Wyk
- Linkedin: Chad-Leigh van Wyk
- Github: El-Potato-Slayer
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!