用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
水墨山径冒险是一款完整的单屏 3D 动作游戏,适合喜欢紧凑、考验时机挑战的玩家。一位原创旅人攀上雨湿的练功山道,遭遇三个机械守卫木人,并通过奔跑、闪避和三段连击摸清它们的攻击节奏。可游玩的山体一进入即可见,没有营销主视觉、强制开始画面或单独教程。
本模板以 Kimi 作为宽泛的动作游戏参考,但使用原创的旅人、山道、遭遇、界面和英文文案。程序化山脊、湿石、飘雾、雨丝和克制的朱砂标记,通过自定义全屏着色器化作一幅水墨画。该着色器融合色调渲染层次、亮度边缘、纸纹和深度雾气,无需下载贴图,也不依赖后期处理库。可选的雨声、雷声和打击音效均在本地合成。
战斗是真正确定性的系统,而非装饰场景。五格定力、可再生的气息槽、带缓冲的连击输入、方向闪避无敌、碰撞恢复,以及清晰的预警—攻击—恢复状态,让每场遭遇都易于读懂。芦苇守卫横扫扇形区域,磐石守卫标记直线路径,流云守卫交替释放内圈与外环脉冲。击败一位守卫会开启下一段山道;击败第三位则开启宁静山顶和完成总结,并提供重试与自由练习选项。
本模板适合独立开发者、开发者和设计师,他们需要一款可作为静态文件发布的、可改编的 Three.js 动作游戏。五个变量可更改游戏名称、世界、场景、受众和标语,一个内容文件承载目标、说明和界面文案。键盘、鼠标和同时触控共享同一套模拟。提示词还固定了地形坐标、战斗时序、自适应渲染、减少动态效果行为、无障碍和小于 20 MB 的构建体积,使独立运行也能保留可玩结构,而不只是水墨外观。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Ink Wash Mountain Adventure Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build [BRAND], an original English-language third-person 3D action adventure set on [WORLD], an invented [SETTING], for [AUDIENCE]. The default tagline is 'Three guardians. One quiet summit.' The player runs along an ink-wash mountain trail, dodges telegraphed attacks, and uses three-hit combos to calibrate three guardian training dummies: Reed Sentinel, Stone Sentinel, and Cloud Sentinel. A stamina system called Breath links attacks and dodges. Rain, distant thunder, and an original painterly shader shape the atmosphere. The entire product is one playable static page at index.html, with the live mountain and first guardian as the first-screen visual anchor and no marketing landing page. - Audience: Indie hackers, front-end developers, designers, creative-coding learners, and players who enjoy short timing-based action games. The interface must welcome first-time players with concise control hints, generous telegraphs, forgiving checkpoint retries, and no gore while keeping combat, rendering, and content modules straightforward to adapt. - Goal: Deliver a complete and replayable action loop: run from the lower trail, read and dodge each guardian's ground telegraph, manage Breath, land combos, resolve all three dummies, open each practice gate, and walk into the summit circle for a completion summary. Make keyboard, mouse, and touch play equivalent, retain previously resolved guardians when retrying the current lesson, and keep all gameplay local and deterministic. - Tone: Focused, atmospheric, elegant, restrained, and encouraging. Use concise original US English training copy and quiet environmental detail. Combat is non-gory practice against mechanical dummies, with 'resolve', 'calibrate', and 'form learned' language rather than killing. There is no epic fantasy exposition, long staff, resonance power, bell-foundry quest, licensed character, or reference to an existing game or AI product. ## Stack - Framework: Vite 6 + TypeScript 5 - Styling: Vanilla CSS - Libraries: three (MIT), lucide (ISC), @fontsource-variable/newsreader (OFL-1.1), @fontsource-variable/inter (OFL-1.1) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Scaffold Vite's vanilla TypeScript template with scripts dev=vite, build=tsc && vite build, and preview=vite preview. Do not add React, a physics engine, a full game engine, or a separate postprocessing dependency. - Set vite.config base to './', build.outDir to 'dist', build.emptyOutDir to true, and build.sourcemap to false. Enable strict TypeScript checking and produce only static files in dist/. - Install only three, lucide, @fontsource-variable/newsreader, and @fontsource-variable/inter as runtime dependencies, plus Vite, TypeScript, and @types/three as development dependencies. Import Newsreader 500/600, Inter 400/500/600/700, and only the Lucide icons actually used. - Organize the implementation into src/content.ts, main.ts, scene.ts, terrain.ts, player.ts, combat.ts, guardians.ts, controls.ts, weather.ts, shader.ts, ui.ts, audio.ts, and styles.css. Keep pure simulation and combat state separate from Three.js meshes and DOM overlays. - Put BRAND, WORLD, SETTING, AUDIENCE, TAGLINE, guardian display names, objectives, instructions, button labels, result copy, and aria copy in src/content.ts. Rewrite setting-specific names and scene dressing when variables change while preserving coordinates, three-guardian mechanics, timings, and UI structure. - Derive a stable decorative random seed and localStorage key from BRAND and WORLD. Save only best active completion time and sound preference; never save dates or claim an online record. Do not restore a half-finished combat state on reload. - Use one index.html with a WebGL canvas and semantic HTML overlays. Bundle every font, script, icon, and generated visual locally; no remote assets or APIs. The document remains fixed to the viewport and uses no router. - Run gameplay with a fixed 1/60-second simulation step and a capped frame delta. Seed only decorative rocks, ridge variation, pine placement, and rain offsets. Keep player collisions, attack windows, guardian patterns, damage, progression, and timer results deterministic. - Cap rendering work, pause simulation and audio when hidden, clear held input on focus changes, and dispose all geometries, materials, render targets, textures, listeners, audio nodes, and the renderer on teardown. ## Variables - [BRAND] — Game name (default: "Rainveil"). An invented one- or two-word game title; never an existing game, platform, or AI brand. - [WORLD] — Mountain world (default: "the Rainveil Pass"). An invented mountain route used in the objective, help, and completion copy. - [SETTING] — Landscape setting (default: "storm-washed mountain retreat"). The landscape theme; adapt vegetation accents and scene dressing without changing the route or combat. - [AUDIENCE] — Player audience (default: "players who enjoy short, timing-based action games"). The intended players, used naturally in the help introduction rather than as metadata. - [TAGLINE] — Game tagline (default: "Three guardians. One quiet summit."). A short original line shown beneath the game name and repeated on completion. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ink-wash-mountain-adventure in the footer (default: yes; delete this line to remove it) The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described. Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.
Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Ink Wash Mountain Adventure"
colors:
sumi_ink: "#171B19"
soft_ink: "#414B46"
rain_slate: "#71817D"
mountain_mist: "#B9C2B8"
rice_paper: "#EEEAE0"
aged_paper: "#DDD8CA"
cinnabar: "#A64232"
breath_pale: "#D7C993"
moss_wash: "#667463"
lightning_paper: "#F7F3E9"
typography:
game_title_guardian_names_objective_headings_and_completion_display: { family: "Newsreader Variable", weights: [500, 600] }
hud_labels_instructions_buttons_timers_and_status: { family: "Inter Variable", weights: [400, 500, 600, 700] }
spacing: "Use a 4px base unit. The game is fixed to 100dvh with no document scrolling. Desktop outer gutters are 20px, panel gaps 12px, and paper-panel padding 16px. The objective card is 320px wide and the trial list 220px wide. Keep the traveler and ground immediately ahead clear. Mobile gutters are 10px, panel padding 12px, ordinary buttons at least 44px high, the joystick 124px wide, STRIKE 76px, and DODGE 68px. Respect safe-area insets on every edge."
radius: "Use 2–6px radii and clipped 12px corners on paper panels, 2px on compact bars, and circular guardian seals and touch controls. Avoid generic rounded glass cards. Give panels a 1px Soft ink border, a dry-brush underline drawn in CSS or SVG, and a restrained 3px offset ink shadow. World geometry uses broad angular stone, folded cloth, and irregular hand-built silhouettes rather than glossy toy shapes."
---
# Ink Wash Mountain Adventure — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Sumi ink** `#171B19` — Primary text, deep mountain strokes, traveler clothing, and dark controls
- **Soft ink** `#414B46` — Secondary text, near terrain, guardian wood, and ink outlines
- **Rain slate** `#71817D` — Rain streaks, distant ridges, wet-stone reflections, and inactive markers
- **Mountain mist** `#B9C2B8` — Scene fog, middle-distance wash, and disabled details
- **Rice paper** `#EEEAE0` — Sky wash, HUD cards, dialogs, light text on Sumi ink, and shader paper base
- **Aged paper** `#DDD8CA` — Secondary panels, path stone, and quiet separators
- **Cinnabar** `#A64232` — Attack telegraphs, guardian resolve, active objective seals, and primary action accents
- **Breath pale** `#D7C993` — Available stamina fill and ready-combo detail, always paired with a numeric label
- **Moss wash** `#667463` — Sparse pines, bank vegetation, and subdued landscape variation
- **Lightning paper** `#F7F3E9` — Brief restrained sky lift, impact edges, and completion highlights
## Typography
- **Game title, guardian names, objective headings, and completion display** — Newsreader Variable (OFL), weights 500/600. Self-host the font files.
- **HUD labels, instructions, buttons, timers, and status** — Inter Variable (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Use a 4px base unit. The game is fixed to 100dvh with no document scrolling. Desktop outer gutters are 20px, panel gaps 12px, and paper-panel padding 16px. The objective card is 320px wide and the trial list 220px wide. Keep the traveler and ground immediately ahead clear. Mobile gutters are 10px, panel padding 12px, ordinary buttons at least 44px high, the joystick 124px wide, STRIKE 76px, and DODGE 68px. Respect safe-area insets on every edge.
- Radius: Use 2–6px radii and clipped 12px corners on paper panels, 2px on compact bars, and circular guardian seals and touch controls. Avoid generic rounded glass cards. Give panels a 1px Soft ink border, a dry-brush underline drawn in CSS or SVG, and a restrained 3px offset ink shadow. World geometry uses broad angular stone, folded cloth, and irregular hand-built silhouettes rather than glossy toy shapes.
## Motion
- Run gameplay at a fixed 60Hz and render with interpolation. Use an articulated run cycle driven by actual travel speed, opposing arm and leg swings, short baton follow-through, and no root sliding. Essential player and guardian motion remains readable at every quality level.
- Damp camera position and heading with frame-rate-independent exponential smoothing. Attacks use brief forward lunges and cloth follow-through; dodges use a low controlled lean. Never add camera shake, forced finish cameras, or long hit-stop.
- Every guardian telegraph fills or sharpens over its exact stated duration, locks its danger shape before activation, and disappears on the active frame. Animation windows and collision damage must use the same simulation state, not independent CSS timers.
- Rain falls continuously in a bounded volume, mist layers drift only a few units, and rare lightning gently lifts sky illumination once rather than strobing. Resolving a guardian releases 14 short ink fragments and a single expanding brush ring without pausing input.
- Use 160–220ms fades and at most 8px translation for help, pause, retry, and completion. Combo labels crossfade rather than bounce; Breath and resolve bars interpolate visually over 80ms while their underlying values update immediately.
- With prefers-reduced-motion, reduce rain to sparse slow streaks, stop mist drift, lightning, ink fragments, idle pulses, and panel translations. Keep essential movement, attack poses, and static or filling danger shapes necessary for play, with no camera impulse or flashing.
## Imagery
Create every visible world element from original Three.js primitives, custom BufferGeometry, CSS, and inline SVG: the faceless traveler, paired short practice batons, three mechanical training dummies, stone trail, practice gates, layered ridges, sparse pines, rain, gates, summit circle, and impact marks. Use an original full-screen ink-wash shader over the rendered 3D scene, with no bitmap paper texture. No photographs, downloaded models, HDRIs, image textures, recognizable landmarks, existing characters, or logos. The live playable mountain itself is the first-screen visual anchor; all interface icons and guardian seals are drawn locally.
## Tone
Focused, atmospheric, elegant, restrained, and encouraging. Use concise original US English training copy and quiet environmental detail. Combat is non-gory practice against mechanical dummies, with 'resolve', 'calibrate', and 'form learned' language rather than killing. There is no epic fantasy exposition, long staff, resonance power, bell-foundry quest, licensed character, or reference to an existing game or AI product.
---
Inspired by 铜雨行者 3D Interactive Game — https://www.kimi.com/showcases/3dmake
— Prompt by VibeFather · https://vibefather.ai/t/ink-wash-mountain-adventure · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 工作室作品展示:将 BRAND 设为你的工作室名称,将 WORLD 设为虚构山道,然后用山顶完成总结作为你游戏作品的低调展示。
- 课堂编程项目:保留三位守卫,将 AUDIENCE 设为学习 Three.js 的学生,让清晰的预警和宽松的重试次数同时成为教学示例。
- 季节性活动游戏:将 SETTING 设为雪景或秋景,重写目标和结果文案,做成一个不含血腥内容的短促销挑战。
- 个人实验:将 TAGLINE 设为你自己的一行文字,为朋友重写帮助介绍,同时保留相同的山道、气息槽和三段连击循环。
水墨山径冒险:常见问题
在水墨山径冒险模板里,我实际玩的是什么?
水墨山径冒险是一款单屏 3D 动作游戏,你沿一条水墨山道奔跑,面对三个机械守卫木人:芦苇守卫、磐石守卫和流云守卫。你需要闪避有预警的攻击、管理可再生的气息槽,并打出三段连击。击败每位守卫会开启下一段山道,击败第三位则通向宁静山顶和完成总结,其中提供重试与自由练习选项。
怎么用 AI 做一个水墨山径冒险?
复制本页的完整提示词(Pro),或者运行 npx vibefather add ink-wash-mountain-adventure,把 [BRAND]、[WORLD]、[SETTING]、[TAGLINE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。