Starship Flight Simulator - Star Wars Arcade Tribute

August 14, 2025 ยท View on GitHub

Game Screenshot

A 3D space flight simulator game inspired by classic Star Wars arcade games, built with Babylon.js.

Features

  • ๐ŸŒŒ Immersive space combat with wireframe graphics
  • ๐Ÿš€ Multiple ship models (player, enemies, support ships)
  • โš”๏ธ Two weapon types: rapid-fire lasers and homing torpedoes
  • ๐ŸŒ  Dynamic enemy AI with different behaviors (approach, retreat, patrol)
  • ๐Ÿค Support ships that aid the player in combat
  • ๐ŸŒŸ Progressive difficulty with wave-based enemy spawning
  • ๐ŸŽฎ Keyboard and mouse controls
  • ๐ŸŽฅ Star Wars-style opening crawl intro

How to Play

Controls

  • Mouse: Aim and rotate ship
  • Left Click: Fire laser
  • Right Click: Launch homing torpedo (cooldown applies)
  • W/S: Move forward/backward
  • A/D: Strafe left/right
  • Q/E: Roll left/right (barrel roll)
  • Up/Down Arrow: Pitch up/down

Gameplay

  1. Survive waves of enemy ships
  2. Destroy enemies to score points
  3. Support ships will occasionally spawn to help you
  4. Each wave increases in difficulty with more enemies and tougher ships
  5. Manage your health - collisions and enemy fire will damage you

Technical Details

  • Built with Babylon.js 3D engine
  • Uses STL models for ships
  • Implements custom AI behaviors for enemies
  • Features particle effects for weapons
  • Responsive design works on desktop browsers

Try It Out

Play the game directly in your browser:
๐Ÿ‘‰ https://ravendano014.github.io/starship/

Development

To run locally:

  1. Clone this repository
  2. Open index.html in a web browser
  3. No build step required - works with vanilla JavaScript

Credits

  • Star Wars opening crawl animation adapted from CodePen
  • Ship models created for multiple 3d artist
  • Sound effects from public domain sources
  • Anyone can help to improve this, just for fun

License

MIT License - free for personal and educational use. Commercial use requires permission.


May the Force be with you! โœจ