Pirate Captain — Naval Saga to El Dorado (3D)
Hoist the colors. Raid merchants. Slay the kraken. Take El Dorado.
Built with:
HTMLJavaScriptthree.js
Prompt
An autonomous 3D pirate captain saga in a single file. Real shader-driven ocean (ShaderMaterial with sin/cos waves), ship rides the waves, low-poly humanoid captain with tricorne hat and saber. Day/night cycle. Sail to islands and ports. Raid merchant ships, navy frigates, bounty hunters. Trade goods and repair hull at ports. Encounter ghost ships in fog. Find 4 lost map fragments. Slay the kraken (multi-tentacle boss). Final battle: 6-ship Royal Armada at El Dorado Cove. End with chronicle scroll: 'THE LEGEND OF <CAPTAIN>' victory or sunk. Auto-restart with next captain forever.
Paste this into Claude, Cursor, or Copilot. Change one thing that matters to you.
What I learned shipping it
- ShaderMaterial ocean = the entire vibe of a naval game. sin(time + uvX) + cos(time + uvY) gives 60fps wave motion that the ship samples to bob authentically.
- Captain rotation is the saga payoff — Mira Bloodtide one run, Hawke Sullivan the next. The streamer never sees the same protagonist twice in a row, and each captain has different dialogue tells.
- An act-based saga (sail → fragments → kraken → armada) gates the difficulty curve so a 5-minute autoplay run still has 4 distinct moods, not 5 minutes of one fight.