Skip to content

afg419/battlezone

Repository files navigation

Space Pirates : Destroyer

A 3D first-person shooter written in JavaScript by Aaron Greenspan and Brant Wellman.

  • Graphics rendered with a handwritten 3D engine.

Play the game live: Space Pirates : Destroyer

Overview

  • See Help menu for keyboard controls
  • Tutorial for basic practice
    • Run into or shoot yellow "wealth" cubes for points
    • Run into purple "message" cubes for basic instructions to navigate through level
  • Level 1 for more advanced flight practice
    • Red cubes are mines! Don't hit them
    • White cube at the end of the level shoots back! Shoot it before it shoots you
  • Level 2 to test your flight skills
    • Multiple white "turret" cubes attack you while you collect all the wealth cubes
  • Level 3 introduces blue "attack" cubes
    • Collect all of the wealth boxes and shoot the attack cubes before they take you out

Level 1

Level 2

Tools

  • JavaScript / ES6
  • p5 JS library - for sketching custom 3D graphics
  • Mocha / Chai for testing

To install and setup locally

Install dependencies:

npm install

To fire up a development server:

npm start

Once the server is running, you can visit:

  • http://localhost:8080/webpack-dev-server/index.html to run the application.

  • http://localhost:8080/webpack-dev-server/test.html to run your test suite in the browser.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published