Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Han Vanguard: One Against a Thousand

A complete voxel action game in your browser: pick one of seven officers and cut through an army of hundreds, with combos, charge attacks and a field-clearing finisher, four story chapters and three ranked trials. Re-theme every battlefield and army by editing data.

示例 · 3

Han Vanguard playable game
在新标签页中打开

在沙盒化的框架中运行,无法访问此页面。

在线运行

在 SandBase sandbox 中运行,并在 Lab 中查看结果。

在 Lab 中打开 ↗

你将获得什么

Bring a setting, and optionally the two sides and the copy. The Skill returns a downloadable Skill (the full game, theme data for every field and army, verification) and three playable themes.

工作原理

  1. 01

    Fill the setting slot

    Han Vanguard needs one required slot, setting, for the mood and time of day; foes, allies, copy and extraPrompt are optional, each up to 2000 characters. node scripts/fill-prompt.mjs --slots slots.json --lang en --out prompt.md renders the prompt, and assets/prompts/examples/frost-dawn.json is the frost example. node scripts/new-project.mjs --out my-vanguard --theme my-theme creates themes/my-theme/theme.json from a starter.

  2. 02

    Edit only the theme

    The engine is finished: seven officers with full kits, a crowd sim of hundreds of soldiers, four story chapters, three trials, VFX and procedural WebAudio. The theme sets copy for title, brush mark and loading line, maps for sky, fog, light and post look, armies for faction palettes, and enemies for crowd size, clamped 0 to 2000. THEME=my-theme npm run dev previews it.

  3. 03

    Build and shoot

    THEME=my-theme npm run build:single writes dist-single/index.html, about 1.5 MiB, and npm run shoot checks it with Node 22.4 or newer and local Chrome, sound muted. It covers the title, a free battle, the advance into the crowd, the lone-rider finisher, pause and story chapters. The build echoes the theme id and crowd size, so check them in shots/report.json.

常见问题

Can Han Vanguard change the officers or story?

No. Han Vanguard treats the officers, their kits and movesets, the chapters and the maps as source material, not theme data. A theme repaints them and renames the brand, but does not rewrite who fights or where. Those live in src/, and references/lessons.md should be read before changing anything outside themes/.

What themes ship with Han Vanguard?

Han Vanguard ships two: ember-pass, the late-Han look with red Wei, green Shu and dusk light, and frost-dawn, which repaints the armies in frost steel, cyan and winter white under pale fog and renames the game Frost Vanguard. Build either with THEME=<id> npm run build:single.

Does Han Vanguard work on phones?

Han Vanguard has no touch play. It loads and shows its title on a phone, but it has no touch controls, so it needs a keyboard or a gamepad. Keys are WASD to move, J attack, K charge, I lone-rider strike, Space jump, L dodge, and the mouse or Q and E for the camera.

Does Han Vanguard need a key?

No. Han Vanguard calls no model or paid service; the world, officers and sound are generated in code, and an agent edits the theme locally. npm install fetches pinned packages from the public npm registry. The single file runs with no network.

Is the Han Vanguard HUD translatable?

Han Vanguard is only partly translatable. It keeps the battle HUD bilingual by design, with Chinese seals and English glosses, and officer names stay as in the source material. The game UI follows ?lang=en or ?lang=zh-CN, and a theme's copy.en and copy zh-CN set only the title, brush mark, seal and loading line.

How do I set the Han Vanguard theme on Windows?

Run the commands in Git Bash, because THEME=<id> npm run is Bash syntax. In PowerShell Han Vanguard builds with $env:THEME='my-theme'; npm run build:single, and in cmd with set THEME=my-theme&& npm run build:single. The playable file opens with a double-click; the root index.html only runs through npm run dev.

Lab Skill · Games

Seagull Swoop

Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Lab Skill · Games

Wedding Cake Wobble

Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Lab Skill · Games

Hermit Tide

Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Lab Skill · Games

Clover Circuit: Estate Cut

Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Lab Skill · Games

Glide Gates: Lagoon Run

Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

Lab Skill · Games

3D Interactive Garden Islands

Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.