GoodCase.aiAI News · Radar↗AI Map↗Course · LearnPrompt↗Token Ocean↗Token Club↗
ProjectsGoodCase.aiAI News Radar ↗AI Map ↗LearnPrompt ↗Token Ocean ↗Token Club ↗
GoodCase.aiGoodCase.aiAI Prompt Case Collection
GoodCase.ai
RankingsCasesRetestsSkillsFavoritesSubmitDailyJoin us
中文EN
Agent Access →

Projects

AI News · Radar ↗AI Map ↗Course · LearnPrompt ↗Token Ocean ↗Token Club ↗
GoodCase.aiGoodCase.aiAI Prompt Case Collection
RankingsCasesRetestsSkillsFavoritesSubmitDailyJoin us
中文EN
Agent Access →

Loading…

GoodCase.ai · AI Prompt Case Collection
ModelsCreatorsChangelogFeedback

Dusk pixel-art submarine hunts a carrier with homing torpedoes

Creator · vib3coded

AI Coding (UI)X2026-11-20Added 11/23/2026Source checked#web-ui
More tags (1)
#motion-3d
View original source ↗Source ♥ 122

Source postreplies 25reposts 12saves 75

Prompt

The reproduction prompt keeps the original and adds runtime, asset and acceptance requirements. These additions are not the author’s words.

PROMPT

Build "Dusk Depths", a submarine hunting game, as one self-contained HTML file: WebGL2, no engine, no libraries, no image or audio assets (Google Fonts only). Everything is procedural. All in-game text in English.

LOOK
Pixel art at dusk: render at about 540 rows and upscale with nearest-neighbour, 4x4 Bayer dithering, a limited palette (pink-orange sky, violet-blue sea), flat 3-tone shading on meshes and a 1-2 px dark outline in a post pass. Ray-march the sea surface, the sea bed (tiling height field, 20-250 m deep) and the sky in one fragment shader, above and below water: swell and sun glitter on top; light shafts, caustics, fish, weed and coral below. Draw the HUD on a separate Canvas 2D layer with its own pixel grid and a 3x5 pixel font.

SHIPS
Model in code, with real detail: an aircraft carrier (angled deck, island, parked jets, hull number), destroyers, a cruiser, a fleet oiler, a helicopter with dipping sonar, and the player's attack submarine. Add plating seams, rust streaks, lit portholes, bow foam and wakes.

GAMEPLAY
The player hunts a carrier group that zig-zags across the sea. Stealth matters: noise grows with speed, a thermal layer at 95 m hides the boat, escorts ping, hunt and drop depth charges, the helicopter dips its sonar. Lock a target, wait for the firing solution, fire torpedoes (4 tubes, 9 s reload); decoys and an active ping are available. Score is tonnage sunk; each new group is stronger.

TORPEDOES
A torpedo leaves exactly along the aim: on the bearing of the locked target, otherwise where the periscope or camera points. It homes by pure pursuit, never leading off to one side. Make it large and bright (orange warhead, white body, red band) with a clear white wake, and keep it visible through the water from above. Hits throw up a water column, fire and debris; ships burn and sink.

CAMERAS
Three views switched with Space: a chart (depth bands, contours, range rings), a chase camera, and a periscope that raises itself and tracks the lock. Add a torpedo camera: after firing, the view follows the torpedo low over the water off its quarter, pulls back for the impact, plays the first hit in brief slow motion, then returns to the boat. Space returns early, K toggles it.

CONTROLS
W/S engine telegraph, A/D helm, Q/E depth, Tab or click to lock, F to fire, P ping, G decoy, mouse to look. Touch: on-screen buttons and drag to steer. Responsive helm.

QUALITY
Hold 60 fps on an ordinary laptop and drop resolution automatically if it cannot. Work in landscape and portrait on phones. Test in a headless browser: screenshots of every view, a scripted attack, a long random-input soak, real keyboard and touch input.
≡Provenance · checkedPublished prompts are human-checked against the original post; platform-reconstructed prompts are not accepted.Compare with source ↗

Models & stability

Recommended models

Claude Fable 5.2
Stability
Cost
Medium

Related Skills

Interactive V8 Engine 3D Model
请使用 Three.js 创作一个主题为《时间的尽头》的 3D 交互式网页。
Nano Banana + Veo 3 + Lovable Animated Site

3D and motion hero

181 Cases

→

Keep exploring

Explore related cases.

View all AI Coding (UI) Case →
A Mountain Valley Dam Diorama Inside a Jelly Block
AI Coding (UI)XAdded 10/27/2026

A Mountain Valley Dam Diorama Inside a Jelly Block

Claude Opus 5.5 built this jelly dam for 18.51$ A single HTML file using pure WebGPU, with no libraries. Waves follow a shallow-water model, reservoir levels re…

Skill · 3D and motion hero

Prompt

PROMPT: Build "Dam Jelly", a new piece in my "Material Studies" series: a single-file, self-contained interactive WebGPU diorama (one HTML file, all JS/CSS/WGSL inline, no network requests, no librar…

Source heat · X
91
Stability
65
View case →
Pixel-Art Four-Square Football in a Floating Island Backyard
AI Coding (UI)XAdded 10/27/2026

Pixel-Art Four-Square Football in a Floating Island Backyard

Garages, chalk and one ball for the whole yard ⚽ Claude Opus 5.5 vs. GPT-6 Astra - same prompt: build a 3D backyard with pixel-art rendering and a game of four …

Skill · 3D and motion hero

Prompt

PROMPT: Build a single-file HTML + three.js (r160) scene called "Chalk Square": four square played with a football in a back yard on a floating island. It is a real 3D scene rendered as crisp pixel a…

Source heat · X
81
Stability
70
View case →
Autumn Lighthouse Isle on a Cloud Turtle with a Circling Whale
AI Coding (UI)XAdded 11/07/2026

Autumn Lighthouse Isle on a Cloud Turtle with a Circling Whale

Claude Opus 5.5: first attempt → final result in 21 minutes 🐢🐋 A tiny world on the back of a flying turtle. Autumn trees, a lighthouse, a waterfall pouring in…

Skill · 3D and motion hero

Prompt

PROMPT Create a single self-contained HTML file using Three.js that renders a beautiful animated voxel-art 3D scene. A floating island rests on the shell of a giant sea turtle that slowly swims thro…

Source heat · X
78
Stability
79
View case →

Same creator

More from @vib3coded →

  • Mammoth Bears an Ice Fortress Amid Aurora Clouds and a Circling DragonAI Coding (UI) · Claude Opus 5.5 · 2026-11-07

Each detail page keeps the original result, the prompt, and retest evidence in one reading path.