Skip to content

beyang/spacefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Starfox-style Game

A simple Starfox-style 3D space shooter game built with Three.js.

How to Play

  1. Start the server by running node server.js in your terminal
  2. Open http://localhost:8080 in your web browser
  3. Use your mouse to control your ship:
    • Moving mouse left/right: Yaw (steer left/right)
    • Moving mouse up/down: Pitch (tilt up/down)
    • Mouse wheel: Control throttle (speed)
  4. Press Spacebar to fire lasers
  5. Destroy enemy ships to earn points
  6. Avoid enemy fire and collisions to stay alive

Features

  • 3D space environment with stars
  • Player ship with flight controls
  • Enemy ships that spawn randomly and attack
  • Laser weapons for both player and enemies
  • Health and score tracking
  • Game over state when health reaches zero

Technologies Used

  • Three.js (imported via CDN)
  • JavaScript
  • HTML/CSS

Notes

This is a simple implementation with rudimentary physics and collision detection. The game can be expanded with more complex models, sounds, power-ups, and game mechanics.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published