/falcon-shootergame-js

Falcon shooter is a game where the goal is to defeat your enemy as fast as possible. Players and foes lose health if meteors collide with their ships or of course...with each other's lasers! Who doesn't like lasers?! Built with Phaser, JavaScript, and Webpack.

Primary LanguageJavaScript

Falcon Shooter Game JS

Falcon shooter is a game where the goal is to defeat your enemy as fast as possible. Players and foes lose health if meteors collide with their ships or of course...with each other's lasers! Who doesn't like lasers?!

Screenshot

How to Play

  • Spacebar: Shoot lasers
  • Arrow keys: Move Ship

Live Demo

Live Demo Link

Game Development

  • My main goal, at the beginning, was to think how the game was going to be played and of course, the images to everything, ships, lasers and so on. I wanted to make a boss fight with different enemy and background music but it was taking me to long, after all Phaser was knew to me. I've also decided to let physics to affect ships (inertia), like when hit by a rock or each others lasers, since it is the space void =D.

  • Since i like games I decided to use Final Fantasy's battle theme as soundtrack, this is a masterpiece to me, it fits in ANY battle. Please enjoy! Credits and links at the end of this file.

Built With

  • Phaser
  • JavaScript
  • Webpack

Tested With

  • Jest

Requirements

  • You'll need a package manager to install the dependencies listed in package.json in order to make the game work in your local machine.

The project was built using npm, so it's recommended to have npm installed.

Getting Started

  • First get a local copy of the project by forking it or just clone it typing this at your terminal inside your favorite folder:
$ git clone git@github.com:luciano-ilha/falcon-shootergame-js.git
  • CD into the repository
  • Run npm install

This will install the dependencies in your local machine. This process can take a few minutes.

Running the Game Locally

  • Run npm run build
  • Run npm start
  • Choose src folder

Testing

  • Run npm run test

Github Actions

To make sure the linters' checks using Github Actions works properly, you should follow the next steps:

  1. On your recently forked repo, enable the GitHub Actions in the Actions tab.
  2. Create the feature/branch and push.
  3. Start working on your milestone as usual.
  4. Open a PR from the feature/branch when your work is done.

✒️ Authors

👤 Luciano Ilha Carbonel

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the fork this repo and create pull request if you want to make changes.

Show your support 💪

Give a ⭐️ if you like this project!

👍 Acknowledgements

  • Microverse
  • PhaserJS

Credits to

1 . Nobuo Uematsu for this masterpiece track! link