跳到正文
DEV Community· boluo·· 1 小時前AI 評分53

我實測 X 上爆紅的 AI 3D 網頁遊戲:技術堆疊、GPU 實況與提示詞仍做不到的事

I Tested the Viral AI 3D Web Games on X: Here Is the Stack, GPU Reality, and What Prompts Still Can't Do

AI 導讀

作者實測 X 上 11 款爆紅的 AI 3D 網頁遊戲,整理其技術堆疊、GPU 表現,以及提示詞仍難處理的開發環節。程序化卡丁車在 Intel UHD 620 上開啟瀏覽器硬件加速、以 800×450 執行時約有 39 FPS;關閉 GPU、以 480×270 執行時則降至 1.5–6.5 FPS。

正文

Let's be honest: most "AI-generated game" clips on X look amazing for five seconds and fall apart the moment you actually try to play them.

When a new wave of 3D browser games started racking up millions of views—right after GPT-6 Astra blew up 3D asset showcases and Claude Opus 5.5 started churning out procedural animations—I wanted to know what was actually running under the hood.

On November 27, 2026, I dug through the 11 biggest viral builds from this wave, cloned the open-source repos (turbo-kart-rally and voxel-musou) onto an older laptop with an integrated Intel UHD 620 GPU, and tested the model APIs they used:

  • ✅ Where this stack shines: Shipping a playable 3D browser prototype in 2 to 7 days with Three.js
  • ⚠️ Where prompts alone fail: Branching RPG narratives, multiplayer state sync, and low-end GPU optimization

Here are the 5 biggest engineering lessons I found after tearing these 11 projects apart.


🏎️ 1. "Zero External Assets" Does Not Mean "Zero GPU Load"

One of the coolest open-source repos in this batch is an MIT-licensed Mario Kart clone (turbo-kart-rally) written in pure Three.js without a single build tool.

Three.js kart demo title screen loaded without build tools

The README states 100% procedural assets—downloading zero .gltf models and zero texture files:

  • 🏁 8 procedural racers: Built out of Three.js geometric primitives and color palettes, each with custom speed, acceleration, handling, and weight stats
  • 🏎️ Complete 100cc race loop: Connects the title screen, character select, 3-lap tracking (LAP 1/3), item boxes, and Shift drift boosts

Character selection screen showing 8 procedural racers and their four stat bars

In-game race screen showing LAP 1/3 and 8 karts competing

Animated GIF of kart acceleration and corner drifting

Another developer pushed this procedural trick even further, packing an Underwater Shipwreck Exploration game (diving into a wreck to locate the ancient Antikythera mechanism) into a single 3MB HTML file—synthesizing deep-sea lighting, geometry, and underwater sound on the fly.

People see "3MB file" or "no external models" and assume it runs on a potato. I benchmarked the kart racer on an Intel UHD 620 integrated GPU to test that theory:

  • 🖥️ Browser hardware acceleration ON (800×450): Ran at ~39 FPS—completely playable, just slightly tight on sharp turns
  • 🐢 Software rendering / GPU OFF (480×270): Collapsed to 1.5–6.5 FPS, making steering impossible

Procedural code skips asset downloads and bundlers, not WebGL draw calls. To survive on low-end laptops, you still have to manually cut dynamic shadows, vehicle counts, and canvas resolution.


🎯 2. Every Working AI Game Secretly Uses the Same 5 Math Mechanics

Why can an LLM one-shot a playable kart racer or turf shooter, yet choke on a narrative detective game?

Look at the other browser builds in this batch:

  • 🔫 #1 Viral Sci-Fi Squad Shooter: Wear heavy armor, push down urban streets with AI teammates, shoot enemy soldiers, and capture control points. Built with Claude Opus 5.5 and Three.js by a creator who never read a line of code—proving gunfire pacing, squad cover behavior, and capture feedback are human design calls.
  • 🎨 Splatoon-Style Ink Painter (Claude Opus 5.5): Spray ink on the floor to claim territory in your team's color and dive into friendly ink to swim faster.
  • 🌊 Voxel Water & Shader Test (Claude Opus 5.5): Classic blocky mountains and trees, upgraded with planar water reflections, sunbeams cutting through leaves, and day-to-night transitions.
  • 🚀 Sky Reach Planetary Landing: Fly a spaceship toward a distant planet, punch through the atmosphere, land on the surface, and step out on foot.

Strip away the paint and all 11 games rely on just five math-friendly mechanics:

  • 🏃 Free movement + camera follow
  • 🛤️ Path or waypoint progression
  • 🟦 Grid-cell surface color changes
  • 💥 Crowd collision & hitboxes
  • 🔢 Procedural environment math

None of them require branching dialogue trees, long-term economy balancing, or multiplayer netcode. LLMs shine when the core loop reduces to vectors, state machines, and distance checks.


🛠️ 3. Three.js, Tripo, Blender, and Unity Are Sequential—And You Can't Skip Blender

Beginners constantly ask: "Should I use Three.js, Tripo, Blender, or Unity?"

The creators who built character-heavy games chained them together across four distinct jobs:

  • 🖼️ 2D Image Generation: Locks the character's visual look
  • 🧊 Tripo: Converts that 2D image or text into a 3D mesh
  • 🛠️ Blender: Fixes topology, rigging, and animations (the one step prompts cannot skip)
  • 🎮 Unity or Three.js: Assembles the final game loop

Here is how two viral builds used that pipeline:

  • 🌹 The Little Prince 3D Planet (16 days, 3.46M views, ~10K bookmarks): Walk the Little Prince around his tiny planet to visit his rose and the king. Locking the 2D character art first before converting to 3D, cleaning up in Blender, and assembling in Unity made the book's cast recognizable immediately.
  • 🕸️ Spider-Man City Swinging: Leap off rooftops, swing on webs above traffic and pedestrians, and run up building facades. After fixing the animations in Blender, the creator skipped Unity and exported straight back into a Three.js web page.

⚔️ 4. A Combat Room Takes 10 Minutes; A Game Loop Takes Human Choreography

My favorite open-source repo in the list is Voxel Musou (voxel-musou), where you play as Zhao Yun slashing through crowds of voxel soldiers with combos, dodge rolls, and musou specials.

Voxel Musou main menu showing Zhao Yun and Huang Zhong as selectable officers

The creator wrote that this was their childhood dream game. Version 1 was literally just Zhao Yun hitting soldiers in an empty space. What turned it into an actual game was the screen-by-screen flow they wired up afterward:

  • 📜 Starting at the main menu and selecting Chapter 1 (Hulao Gate · Normal)
  • 🛡️ Choosing Liu Bei, Guan Yu, or Zhang Fei on the Shu-Han route
  • 🎙️ Watching a voiced cutscene with subtitles about Dong Zhuo and Yuan Shao's coalition
  • 🎯 Entering the battlefield with a live 61m distance HUD (Defeat Dong Zhuo's forces in front of Sishui Pass)

Story mode officer selection screen for Hulao Gate showing Liu Bei, Guan Yu, and Zhang Fei

Battlefield view showing active mission HUD and 61m distance indicator

Even in the Call of Duty MW2 + Skate 3 + Minecraft mashup (7.5M views, ~30K likes—shoot MW2 guns, hit J to kickflip a skateboard, and shoot blocks in a Minecraft world), the magic is in the boundaries. Built in Rust on the open-source IW4L runtime, it keeps its repo clean by downloading ~125MB of vanilla Minecraft assets from Mojang's official servers on first launch, requiring a legal Steam copy of MW2, and disabling skateboarding if Xbox 360 Skate 3's default.xex is missing.


🔌 5. How to Route claude-opus-5-5 Without Burning $2,400 Blindly

One creator let an AI run on a gaming laptop for 36 hours straight to build an old-school RPG (character creation, towns, combat), spending $2,400 across API calls and generated art/music.

Across the builds that disclosed their model stack, Claude Opus 5.5 was the main workhorse. When I test claude-opus-5-5 against other models on Three.js prototypes, I avoid juggling separate vendor keys and billing dashboards by routing requests through Crazyrouter and swapping only the model string:

https://api.crazyrouter.com/v1

Three quick gotchas from my API verification on November 27, 2026:

  • 🔗 SDK path suffix: Use the /v1 suffix above for OpenAI-compatible SDKs, or pass the root domain without /v1 for the native Anthropic SDK (claude-opus-5-5 via /v1/messages returned HTTP 200 in 10.2 seconds)
  • 💰 Budget check: Check the daily-verified model pricing table before kicking off multi-hour agent loops
  • 🔍 Query GET /v1/models directly: Even when claude-opus-5-5's web detail page returned a 404 during my check, GET /v1/models confirmed the model ID was active and routable

Every one of these 11 builds still needs save systems, gamepad input abstraction, low-end GPU profiling, and audio mixing before commercial release—but they all prove the same rule: build the movement and fun with ugly boxes first, and worry about the art last.

來源:DEV Community · dev.to