In this project, I build a shooter game using JavaScript's framework Phaser 3, a "fast, free and fun open-source framework for Canvas and WebGL powered browser games".
This project's objective was to build a shooter game similar to York Computer's tutorial. So I used the main idea but I created my own Galaxy Wars shooter game.
This is a simple endless runner. Enemies appear at the top of the canvas Some shoot you, some pass straight, some pursue you. You control your ship with keyboard arrows while you shoot with space. Just destroy as many enemies as you can before you die.
In the end, you can add your name to our Leaders Board and check the high scores.Leaders Board only show top 5 scores if you beat all scores your score will be on top of the other 4 scores.
To control your ship you should use these arrows .These are UPS, DOWN, LEFT and RIGHT keyboards. To shoot enemies
use space .
You can play the game online by clicking here or locally following these steps:
- Click on the green button "Clone or Download"
- Click on Download ZIP
- Extract the game
- In your terminal, navigate to the game's folder
- Run
npm install
thennpm start
to start the server - Open, in your browser,
localhost:8080
- Beat my record and make my name disappear from the Leader Board
- JavaScript
- Phaser 3
- Webpack
- HTML
- CSS
- Eslint
- Babel
- Jest
- API
- Clone the repo
[email protected]:Murodjon000/shooter-game.git
- cd
into
the project - Run
git pull origin app
- Run
yarn install
ornpm install
to install dependencies - Run
npm test
to run tests - On the terminal run
npm run start
open up the live server
๐ค Murodjon Tursunpulatov
- Github: @murodjon000
- Twitter: @MurodjonTursun5
- Linkedin: @Murodjon Tursunpulatov
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
MIT License