Giter VIP home page Giter VIP logo

zero-hour's Introduction

Zero Hour

A space shmup game I made for a school project using the HTML5 game framework Phaser 3. This project was made with help from these amazing tutorials on Zenva.

How to play

This app is hosted using heroku. Simply go to the site https://thepiguy-zero-hour.herokuapp.com/ to view the game. The source code is located under the js/ repository.

How to develop

  1. First of all, install Node.js if you haven't already.
  2. Clone this repository and navigate to it in your terminal or command prompt.
  3. Run npm install to install all of the dependencies.
  4. Run npm run dev to build the files. This project uses concurrently to run three processes at once:
  • Starts a local mongod server for testing
  • Bundles your files using webpack, watching your files for any changes and automatically updating them
  • Begins the server with src/server/server.js as the entry point
  1. To view the server console logs, either:
  • Inspect Element using Google Chrome and click on the Node.js symbol in the toolbar, or
  • Go to chrome://inspect/#devices in your browser.

How to run

  1. Run npm run build to build the webpack files, and then run npm start to launch the server.
  2. Navigate to http://localhost:8080/ in your browserto view the game.

zero-hour's People

Contributors

adzcai avatar dependabot[bot] avatar scope2229 avatar

zero-hour's Issues

Multiplayer invincibility

When a player dies, it doesn't get broadcast to the rest of the players until the dead player emits the event.

To fix this, maybe find a way to handle the health of the players in the server.

Customization in multiplayer

The upgrades and things get loaded by PlayerShip. We should find a way to show each player as their own texture.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.