Skip to content

Alaska01/Space_Shooter

Repository files navigation

Shooter-Game

  • The Space Shooter game was built with Phaser 3, Webpack 5, and JavaScript, that runs when deployed online. The player must kill all the enemies with lasers and avoid colliding with the enemies or the enemy lasers. The key entities in the game include the player, ChaserShip, CarrierShip, and GunShip.

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

Built With

  • JavaScript
  • Webpack
  • npm
  • Phaser 3
  • Jest

Design Process

Study given documentation for various milestones;

  • Learned and understood the Phaser framework necessary for the project due to the project's tight deadline.

  • Learn and practiced setting up Webpack with phaser that is necessary for the bundling of the project dependencies.

  • Gathered and arranged all the necessary assets (images, sprites, sounds, etc.)for the game. All the assets were gotten from open game art and used in compliance with the assets license agreement.

Objectives for milestone two;

  • To make the game scalable and easy to play
  • To build the core functionality of the game before adding other extra features.
  • Implement the BootScene, PreloaderScene, TitleScene, and the MainScene to make the player move with control.

Getting Started

To run this project locally, make sure you have done the following:

  • Installed Node.js, more information here
  • Installed Node package manager, more information here -Get a copy of the project by running
 git clone https://github.com/Alaska01/Space_Shooter.git

on your terminal.

Setup, Installations and usage

  • cd into the project
  • open the project using code editor of your choice
  • Run npm install to set up all dependencies
  • Run npm start to start the server
  • Open your prefered browser
  • Visit http://localhost:8080/ or use any local server to run your project, the port may vary from system to system.

Run Tests

In the project root folder run

npm run test

screenshot

How to play

  • Open the game and allow it to boot
  • Enter your Username/nickname so that your score can be saved.
  • Hit "Enter" on your keyboard to continue.
  • Click on play to play the game

PLAYER CONTROL KEYS:

  • MOVE LEFT: [←]
  • MOVE RIGHT: [→]
  • MOVE DOWN: [↓]
  • MOVE UP: [↑]
  • SHOOT: [SPACEBAR]

Click here to read the Game Design Document for this game

Live version

Live Version

Author

👨‍💻 Aye Daniel Asoo

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Acknowledgements

Microverse

Enemies: ansimuz

Enemies: hookiz

Background Image: Free Backgrounds

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

A Space Shooter game developed with Phaser 3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published