This is a platform game which was created using Phaser library and the given assets in itch.io .
- Make sure you have node installed.
- Clone this repository.
- Open this project in a code editor.
- Open a terminal in this directory path.
- Run
npm install
and wait for all the dependencies to install. - To run the project in development mode, run
npm run dev
. - Open
http://localhost:8080/
link in your browser and you should be able to play the game now.
- Click on
Play
option to start the game. - Use
right arrow
key andleft arrow
key on your keyboard to move right and left respectively. - Press the
Q
key on your keyboard to send a projectile attack at enemies. - Press the
E
key to attack using the weapon. - Press the
space bar
orUP arrow key
to jump. - Use the
down arrow key
to duck projectile attacks. - The user is allowed to jump twice. Once on the ground and once in mid air.
Some of the features on the game include:
- Player functions like jumping, projectile attacks and weapon attack.
- The player is supposed to get as many gems as possible.
- Enemies include birdman and snaky
- Snaky enemy has the ability to throw a projectile attack.
- There are two levels in the game
- Retro music, tilesets and other assets by Filip Jerga
- Project Links: Production link
- Mobile compatibility
- UI/UX
- This project utilizes the Phaser library
My initial objective(first 2 days) for this project was to get started with the phaser initialization and set up the background tiles for play scene. I ended up using Tiled Map Editor
for the same.
- Moin Khan
- LinkedIn : @MoinKhanIF
- Personal Website: MoinKhanIF.dev
- Twitter: @MoinKhanIF