/Fitaita

A 2d game built on Javascript and PhaserJS

Primary LanguageJavaScriptMIT LicenseMIT

Video Game: Fitaita

fitaita2

Fitaita is an RPG 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

Fitaita 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.

Live link

Fitaita live link

Video

Video Demo Link

Gameplay

Player

Player (Fita) 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 on in quest to collect enough coins to defeat the power of the fish.

Enemy

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

Design and Thinking

In the first day I got introduced to the new Phaserjs library and I got started with the documentation from the official docs. I took a couple of days understanding the concepts. On the fifth day, I came up with my game mechanics, including the game name, players, enemy, levels and scoring system. The day after, I starting coding based on my own plan.

Assets

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

Technologies used

Future work

  • Adding more levels
  • Defence mechanisms

Skills

Tools

  • Use linters (code standards) MASTERY
  • Maintain professional Github repos MASTERY
  • Deploy apps (Heroku, Netlify) MASTERY

Soft Skills

  • Strong English written communication MASTERY
  • Ability to communicate information effectively to non-technical people MASTERY
  • Ability to translate business requirements into software solutions MASTERY
  • Sets high standards of performance to oneself MASTERY
  • Shows a desire to take personal responsibility to complete tasks and solve problems MASTERY
  • Ability to multitask and effectively manage time and prioritzation MASTERY

Technical Skills

  • Create effective JavaScript code that solves the problem MASTERY
  • Encapsulate JS code in modules MASTERY
  • Use Webpack MASTERY
  • Use EcmaScript+ MASTERY
  • Deal with async code MASTERY
  • Send and receive data from a back-end endpoint MASTERY
  • Use JSON format MASTERY
  • Use DOM (read/write data) listen to events MASTERY
  • Test JS code MASTERY

Project Setup

Use the git to clone the project to your local machine.

$ git clone https://github.com/OlukaDenis/fitaita.git

Navigate to the extracted folder

cd Fitaita

Install the dependencies and modules

$ npm install

Usage

$ npm run start

This will open the app at port 9000. If it doesn't open, visit http://localhost:9000

Testing

$ npm run test

Author

👤 Denis Oluka

Github | Twitter | LinkedIn

🤝 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.