游戏方向与手感设定
game-direction
在构建或修改原生游戏之前,设定游戏手感、关卡节奏和艺术方向。用于新游戏、展示作品、视觉全面改版,或玩法正确但感觉平淡的游戏。与 native-game 配合使用,后者负责所有工具与 schema 契约。
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 635
- Forks
- 91
01 前言 Front Matter
- name
- game-direction
- description
- Set the feel, level pacing, and art direction before building or revising a native game. Use for a new game, a showcase, a visual overhaul, or a game that plays correctly but feels flat. Pairs with native-game, which owns every tool and schema contract.
03 SKILL.md 正文
Direct a native game
Lock a short direction spec before the first game edit or asset generation.
State the spec in the conversation, then build within the requested scope.
For an existing game, read it and preserve its established direction unless
the brief asks for a change. native-game owns the tool and schema contracts.
Direction spec
| Decision | Record before building |
|---|---|
| Player promise | The action that should feel satisfying, the challenge, and the observable win condition |
| Style string | One exact reusable string naming medium, palette, edge treatment, lighting, and texture |
| Layer plan | Sky, far background, midground, play layer, and foreground, with their depth, contrast, and parallax |
| Feel parameters | Movement speed, acceleration and braking, jump height and duration, coyote ticks, buffer ticks, and feedback timing |
| Pacing sheet | Ordered teaching beats, their safe practice area, challenge, recovery, and finish |
| Asset plan | Hero poses, aligned frames, terrain edge variants, effects, sound cues, music, and fonts |
| Proof route | Start scene, required targets, win signal, expected duration, and captures at the teaching beat and hardest section |
| Performance budget | Game type, slowest target machine and display rate (60 or 120 Hz), then the draw call, triangle, cascade, particle and script budgets that follow from them |
For a small prototype, keep each row to one sentence and use only the layers
and assets the brief needs. The jump, coyote and layer rows assume a side-view
platformer. For a top-down game (the 2D default), record movement speed,
acceleration, braking and facing instead of jump rows, and replace the depth
layers with ground, props, overhead decoration and lighting. For a 3D
exploration game, record the controller speed, jump, follow-camera offset
and pitch limits, and plan sky, lighting and landmarks instead of parallax layers.
A showcase needs a visible depth plan and a finished art pass. Load
native-game for the build loop, native-game-reference for the document
fields, and list_example_games and get_example_game for shipped references. Study Kindle for a platformer
with animated poses, terrain edges, parallax, lights, sound cues, and a grade.
Use its decisions as a benchmark for the brief, without copying its theme.
Performance budget
Decide the budget with the look, because the look spends it. Pick the game type
row in native-game-performance, name the slowest Mac the game must run on,
and choose 60 Hz (frameMs 16.6) or 120 Hz (frameMs 8.3). Then plan the
scene inside that row: how many shadow cascades and how far they reach, which
meshes cast, which props merge into one model, how many particles and soft
emitters the busiest moment shows, and how many scripts drive it. A sweeping
vista, dense forest or particle storm is a budget decision, not only an art one.
Record the budget with set_performance before the art pass.
One style string
Repeat the locked style string verbatim in every visual prompt. Add the asset's
role, dimensions, framing, and transparency requirements after that string.
Pass one installed style reference as reference_slot on generate_game_asset
when the selected model accepts an input image.
Changing the palette or edge treatment for one asset requires updating the
spec and the related assets.
Keep the player's silhouette readable against the play layer. Background contrast and detail should fall with distance. Foreground decoration must leave hazards and landing surfaces visible. Check the composition at the target screen size, including touch controls and HUD.
Game feel
Measure timings in ticks at the engine's 60 Hz rate. For a side-view prototype,
start with 6–8 coyote ticks and 6–8 buffer ticks, then tune them against the
actual level. Coyote time permits a jump shortly after leaving support. A jump
buffer remembers a press shortly before landing. Implement these in persistent
script state using entity.touching.down and justPressed.
Set jump velocity and gravity from the intended height and airtime. Holding jump may preserve ascent while release cuts it. Make braking fast enough to land on the narrowest required platform. Decide whether air steering and wall jumps are part of the game before laying out challenges that need them.
Give an action a clear response. A jump can use a pose change, a sound cue, and
a brief dust puff. A landing can compress the sprite, then restore it. A hit
needs an immediate flash or recoil and a clear recovery window. Keep squash,
stretch, and screen effects visual so the collider remains predictable. Use
setVisual, animation clips, particles, and event-driven audio through the
contracts in native-game. Avoid repeated camera motion that obscures a jump.
Level pacing
Write the pacing sheet before placing the level. Each row identifies the mechanic, what the player sees before committing, and where a failed attempt returns them. Introduce a mechanic in safety, ask for one clear use, then combine it with an earlier mechanic. Put recovery after a demanding section. Keep checkpoints near the section they protect and make their activation visible and audible.
Place the first required target where normal play teaches movement. Show the next landing or objective before asking for a blind commitment. Optional collectibles can reward risk, but the win route must remain readable without them unless collection is the stated objective. Test the narrowest clearance, longest jump, moving platform timing, and respawn state individually.
Finish and proof
Obtain the proof route with autoplay or a written route, replay it, and
assert the win as native-game § Build and revise describes. For a custom
scripted goal, assert the game's own victory signal, not only a target contact.
Capture the start, a representative play section, the busiest frame, and the
finish using the proof route. Run the performance gate in native-game on the
same route, and report the measured frame and tick p95 beside the visual checks. Captures return image refs, so call
view_image on each frame before judging it. Inspect the images against the
locked layer plan, silhouette contrast, terrain joins, foot alignment, HUD, lighting, and grade.
Schema validation proves structure. An executed route proves that route can
reach its observed target. Visual quality requires inspecting the rendered
frames. Report which of these checks passed and what remains unverified.
04 同仓库更多 Skills
humanizer
Rewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line closers, staged openers, forced triads, dashes everywhere, inflated claims, sales language, stock AI words, bold labels, or filler.
NodeTool可视化AI工作流构建
nodetool
使用 NodeTool MCP 服务器构建、验证、运行和调试可视化 AI 工作流,并处理资产、集合和任务。当用户提及 NodeTool,或要求在其 NodeTool 服务器上创建工作流图、节点或运行媒体生成时使用。
Wan 2.6 视频提示词编写
wan-2-6-prompting
为阿里的 Wan 2.6 视频模型编写提示词——文生视频采用全局风格描述行加上按时间用括号标记的分镜,图生视频只描述随时间变化的内容。涵盖各服务商的镜头模式切换、提示词预算、负面提示词、运动强度措辞、音频输入和提示词扩展。当模型 ID 指定 Wan 2.6 视频路由(alibaba/wan-2.6/text-to-video、alibaba/wan-2.6/image-to-video、wan-video/wan-2.6-t2v、wan-video/wan-2.6-i2v、wan-video/wan2.6-i2v-flash)用于 generate_video、animate_image 或 TextToVideo 节点时使用。不适用于 Wan 2.5 或 2.7,也不适用于 Wan 2.6 图像路由。
可复用视频工作流搭建
video-workflow
构建可复用的 NodeTool 视频工作流,用于批量处理或重复输入。若只需制作单个成品,请使用 storyboard(分镜)技能。
参考视频镜头结构复刻
video-clone
分析参考视频,并在 NodeTool 中使用新产品或新演员重现其镜头结构。
多场景视频音频连续性处理
video-audio-continuity
让由生成视频剪辑而成的多场景作品中的声音保持连续——为什么每个场景各生成一段片段会在每处边界硬切音频、何时改为把所有场景写入同一次生成、能在服务商版权过滤下保留下来的声音设计词汇,以及如何检查返回内容的时长、宽高比和混音效果。当作品包含多个场景且视频模型会自行生成音频(Seedance 2、Veo 3、MiniMax H3、Kling 2.6 及更高版本),或剪辑的声音在镜头切换处中断时使用。