Skip to content

mbabaliiryn/Phaser_Game

Repository files navigation

Phaser Game

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.

Overview

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.

Screenshots

Screenshot from 2020-08-30 12-42-55

Screenshot from 2020-08-30 12-45-49

Screenshot from 2020-08-30 12-46-35

Live link

Phaser game link

How to play the game

  • 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

Design

All sprites, images and sounds used in this game are from Open Game Art.

Gameplay

Player

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.

Enemy

Fishes of blue and green colors are released from random directions into game. They will continue swimming looking for food.

Assets

All sprites, images and sounds used in this game are from Open Game Art.

Technologies used

Future work

  • Adding more levels
  • Defence mechanisms

Get started

  • Clone the project in your local machine
  • cd 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.

Tested with

  • Jest

Author

👤 Mbabali Iryn

🤝 Contributing

Contributions, issues and feature requests are welcome! You can open a new issue on the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgements

📝 License

This project is licensed under MIT license - see LICENSE for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages