This is a video game built with Phaser 3, an open source framework for Canvas and WebGL powered games. This game was inspired by Phaser 3 tutorial: Endless Runner. The main objective was to create a custom role play game.
Assignment link.
This phaser game is a single player based game. The game is intended to determine how fast a player can collect enough coins against the man-eater fishes. The game has infinite levels and the player is expected to collect 5000 coins in order to escape the underworld. Two man-eater fishes are being introduced to the gameplay starting from level two. The player has to manoeuvre and avoid getting contact with the fishes.
- Press the up-arrow key to move up
- Press the down-arrow key to move down
- Press the left-arrow key to move left
- Press the right-arrow key to move right
All sprites, images and sounds used in this game are from Open Game Art.
Player uses the direction keys( up: to jump and move to upper blocks, down: to move down in a faster way, left: to move left, right: to move right). He continues to collect enough coins to defeat the power of the fish.
Fishes of blue and green colors are released from random directions into game. They will continue swimming looking for food.
All sprites, images and sounds used in this game are from Open Game Art.
- HTML5 and CSS
- JavaScript
- Phaser 3
- Webpack
- Eslint
- Babel
- Jest
- Github
- Netlify for the deployment
- Leaderboard API service for the leaderboard
- Adding more levels
- Defence mechanisms
Clone
the project in your local machinecd
into the project directory- Run
npm install
to install the necessary dependencies - Run
npm start
, the page will automatically open in a new tab in your browswer.
- Jest
👤 Mbabali Iryn
- Github: @mbabaliiryn
- Twitter: @irynmbabali
- Linkedln: mbabaliiryn
Contributions, issues and feature requests are welcome! You can open a new issue on the issues page.
Give a ⭐️ if you like this project!
This project is licensed under MIT license - see LICENSE for more details.