A JavaScript project built using the Phaser 3 Game Engine.
Explore the docs �
Assigment
�
Report Bugs
�
Request Additional Feature
- Table of Contents
- Project Description
- Live Demo
- Procedual Design
- Selection of Building Blocks
- Getting Started
- Usage
- Game Play
- Contributing
- License
- Acknowledgements
This is javascript capstone project built with the Phaser 3 Game Engine.During the development process two days where all about to understanding how the game engine works and design how the game should look. Time was spent creating several assets to achieve an exceptional design. The final days consisted of building the project in order to produce a fully functional space shooter game that has different features to allow players to enjoy game play.
Click here
The Game was built with the following technologies:
- Javascript
- Phaser Game Engine
- HTML
- CSS
- Webpack
- Eslint
- Stylelint
- npm
The design process was a challenge I was up for. At the end of day two, I had partially mastered Phaser. The main things I focused on was how to handle the physics and motion frameworks it provides. I also managed to organise all my assets which I imported from different sources and modified to my liking. On the third day I started building the project while keeping the following concepts in mind:
- MVP - Building the main functionality before going further in implementing additional features.
- I made sure that the build was deployable by enabling it to work locally and via a hosting service.
- Use coding partners that would make my code easy to read.
- The visual aspect of the game is subject to change, I made sure I met all functionality requirements I laid out before proceeding.
- npm
- Clone the repo to your local machine
git clone https://github.com/peterrobert/Shooter_javascript_game.git
- Migrate to the cloned repository directory
cd shooter_javascript_game
- Install all the project dependencies
npm install
- Run the game:
NB: This will open a new tab on your browser where you will see the game or visit localhost:3000/dist .
npm start
- There are four controls for moving the ship/player:
- using the Up, Left and Right arrow keys
- Key Up is for moving upward
- Key Left is for moving backwards
- Key Right is for moving fowards
- Use the spacebar to shoot.
- You need to battle up with the steroids falling from space.
As this project open source, there are a number of features you can add, some include:
- Add Lives
- Add levels
- Add ship selection
- Add the alien base station to destroy
- Add a store
Contributions are what make the open source community an enviroment where developers can learn, inspire, and create great ideas. Any contributions will be highly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/game_build_*feature name*
) - Commit your Changes
- Push to the Branch (
git push origin feature/game_build_*feature name*
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
👤 Peter Robert
- Github: @peterrobert
- Twitter: @ptahwambui93
- Linkedin: Peter Robert Ndungu
Contributions, issues and feature requests are welcome!. Feel free to check the issues page.