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
- 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
- JavaScript / ES6
- p5 JS library - for sketching custom 3D graphics
- Mocha / Chai for testing
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.