A trippy 3D flight simulator game built with Three.js and Tone.js.
This is a psychedelic flight simulator where you pilot a spacecraft through a colorful cosmic environment. Battle enemies, avoid obstacles, and defeat the boss to win. The game features:
- Dynamic 3D visuals with responsive audio-reactive effects
- Three different weapon systems that unlock as you progress
- Dimension shifting ability for temporary invulnerability
- Gravity wells that affect your flight trajectory
- Boss battle with multiple phases
- WASD: Steer the spacecraft
- Space: Activate thrusters (fly forward)
- G: Fire weapons
- X: Activate dimension shift
- Mouse: Look around
- Click: Lock pointer aim
Simply open index.html in a modern web browser to play. No installation required!
- Three.js: For 3D rendering
- Tone.js: For audio synthesis and sound effects
- HTML5 Canvas: For rendering the game
- CSS: For UI styling
-
Weapons:
- Level 1: Flamethrower (default)
- Level 2: Spread Shot (unlocks at 1,500 points)
- Level 3: Beam Cannon (unlocks at 4,000 points)
-
Dimension Shift:
- Temporary invulnerability
- 1.5 second duration
- 5 second cooldown
-
Gravity Wells:
- Attract or repel your ship and projectiles
- Can be used strategically in combat
-
Boss Battle:
- Appears at 7,500 points
- Has two phases with increasing difficulty
Created as a demo project for exploring WebGL and Web Audio API capabilities in modern browsers.