/spaceship

Spaceship

Primary LanguageJavaScript

Spaceship

A 3D spaceship flight simulator built with JavaScript, Three.js, and HTML5 Canvas.

How to Run

  1. Because this project uses JavaScript modules, you'll need to run it from a local web server.
  2. If you have Python installed, you can start a simple server with python -m http.server.
  3. Then, open your browser and go to http://localhost:8000.

Controls

  • Mouse: Steer the ship
  • Left Mouse Button: Thrust
  • Spacebar or Z: Fire lasers