Skip to content

mcastorena0316/Javascript-Capstone

Repository files navigation

Javascript-Capstone Project: Build a Shooter Game

Table of Contents

About The Project

The objective of this project was to design and build a platform game like the one in Space Shooter Game using Phaser and Javascript among other technologies.

Live version of the project: Live version

Project Link: Javascript-Capstone

The game

In this never-ending game, you will face 3 different enemies at random times, and you have to use your laser to make them explode. Every enemy gives you a different score, and you need to avoid getting hit by their lasers or overlap with one of them. Every moment one of these events occurs, you will lose one life.

You have 7 lives, after this, you will lose, and be redirected to a Game Over screen where you can submit your name and check for the highest scores.

Inspiration

This game is inspired in my cat "Benito" and the villains include one of his worst enemies: dogs, snakes (and reptiles in general), and the representation of my husband who is always trying to hug him (which he doesn't like at all).

How to Play

You can move around the screen using the arrow keys

for moving around and use the Space Bar
to shoot whenever you see a bad guy.

Installation

You can always use the live version to play right away or install it locally using these steps:

Clone my repository

$ https://github.com/mcastorena0316/Javascript-Capstone

Go to my project's folder

$ cd Javascript-Capstone

Get the dependencies needed for the game

$ npm install

Start the server and the fun

$ npm run dev

Characters

  • Player:

    Benito the Cat: He can move at 4 directions, and use the space bar to shoot his enemies. Like all cats, he has 7 lives.

  • Enemy 1 :

    Angry Dog: it will appear randomly shooting lasers. You receive +15 every time you make it explode.

  • Enemy 2:

    Snake: it will appear at a random velocity and location shooting lasers. You will receive +10 points every time you shoot one successfully

  • Enemy 3:

    Human Chaser: He will chase you through all the game. You will receive +25 points every time you destroy one.

Scenes

  • Menu
  • About
  • High Scores
  • Main
  • Game Over

Technologies used

Author

Melissa Castorena

Show your Support

Give a star if you like this project!

Potential features

  • Create a mobile version.
  • Increase the difficulty as the game moves on.
  • Make opponents have a higher speed or/and longer live.

Acknowledgments

About

Shooter VideoGame usinging Javascript and Phaser3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published