Skip to content

This was my final project of the JavaScript module and the aim was to create a shooter game using the framework Phaser

License

Notifications You must be signed in to change notification settings

DcRonan/shooter-game

Repository files navigation

Infinite Shooter 👾

Microverse

Library Directory 📙

Contents
Built With
Instructions
Live Demo
Install
Testing
Authors
License

Description

This was my final project of the JavaScript module and the aim was to create a shooter game using the framework Phaser

gif

I have a built a space shooter game that you can move your character using keys and have the ability to shooter lasers. I have added a scoring system to display your score, increment every time you shoot an enemy and the option to save it to the leaderboard. I have included the main menu which you can turn the music and sound on or off as well as credits and button to play.

Instructions 🎮

Move Character

  • UP - Arrow UP key
  • DOWN - Arrow DOWN key
  • LEFT - Arrow LEFT key
  • RIGHT - Arrow RIGHT key

Shoot

  • Laser - Space bar

Built With 🛠

- JavaScript
- Phaser 3.51.0
- Jest
- Webpack
- Netlify
- VS Code

JavaScript Jest Webpack npm Netlify VS Code

Live Demo 🎥

Install ⏳

Follow these steps below to get my Application working. I used npm to manage all my packages for JavaScript. If you don't have it installed already, you can install it here

    • Open your Terminal
    • Navigate to the directory where you will like to install the repo by running cd shooter-game
    • Run git clone git@github.com:DcRonan/shooter-game.git to download or you can download using HTTPS by running git clone https://github.com/DcRonan/shooter-game.git in the terminal
    • Run cd shooter-game to enter the directory
    • Run npm i to install all the packages
    • Run npm run build to build the app
    • Go on your preferred browser and open dist/index.html in the folder directory
    • [Optional] - If you would like to edit the code for your preference then you can enter development mode by running npm start in the terminal

Testing ⚙

I have used Jest to test my code, you can find more info here: jest

    • Open Terminal again
    • Run cd shooter-game to enter the directory
    • Run npm test to start testing
    • All tests will pass ✅

tests

Authors

👨‍💻 Daniel Ronan

GitHub
LINKEDIN
EMAIL
TWITTER

Acknowledgements ⭐

Assets that I had used: Kenney

🤝 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!

License

Cocoapods

About

This was my final project of the JavaScript module and the aim was to create a shooter game using the framework Phaser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published