Skip to content

2D game developed with JS and Phaser 3 Library. Use of webpack for bundling assets. Test coverage made with Jest.

Notifications You must be signed in to change notification settings

thneves/Local-Hero

Repository files navigation

Local Hero

Project created with Phaser 3 library. The player must destroy its enemies by shooting arrows from his boat. The scores are saved using API service. Npm and Webpack are used to compile files and assets. Test coverage made with Jest.

screenshot;

Built With

  • Phaser 3
  • Webpack
  • Javascript
  • Jest

Live Demo

Live version

Getting Started

To get a local copy up and running follow these simple example steps.

Setup

  • Please make a local copy of this repo by typing this command on your terminal.

git clone https://github.com/thneves/Local-Hero

  • Then, go to the folder created with:

cd Local-Hero

Install packages

  • Run npm install in the terminal.

Run Game Locally

  • Run npm run start in the terminal.

Run Test

  • Run npm test in the terminal.

Game Design

List of Scenes

  • Boot
  • Preloader
  • Title
  • Game
  • Options
  • Credits
  • Ranking

Game Controls

Command Action
Left Arrow To move left
Right Arrow To move right
Up Arrow To move up
Down Arrow To move left
Space Shoot Arrow

Enemies info

Enemies Description Points
Submarine Big Submarine coming in your direction 23
Gun Boat A Boat that shoots lasers 42
Chaser Bomb A bomb that will follow you 53

Author

​ 👤 Thales Neves

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

About

2D game developed with JS and Phaser 3 Library. Use of webpack for bundling assets. Test coverage made with Jest.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published