- 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.
- JavaScript
- Webpack
- npm
- Phaser 3
- Jest
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.
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.
- 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.
In the project root folder run
npm run test
- 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
- MOVE LEFT: [←]
- MOVE RIGHT: [→]
- MOVE DOWN: [↓]
- MOVE UP: [↑]
- SHOOT: [SPACEBAR]
Click here to read the Game Design Document for this game
👨💻 Aye Daniel Asoo
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Enemies: ansimuz
Enemies: hookiz
Background Image: Free Backgrounds
Give a ⭐️ if you like this project!
This project is MIT licensed.