跳到正文
FunCoding

anymove-pack

Turn an anymove creature's captured takes into one game-ready GLB - score the takes against the gates, pick the keepers, cut seamless loops, make root-motion versions of walks and runs, trim one-shots, take the limb paint out, and measure foot slide. Use when a creature has several captured takes and someone wants the final animation file, asks which take to keep, wants loops or root motion, or wants to reproduce one of the creatures in Patch's Assets.

Star
693
许可证
Apache-2.0
最近提交
2026年11月13日

skills/anymove-pack/SKILL.md

在 GitHub 上查看

anymove-pack: takes in, one GLB out

docs/PACKS.md has every field and number. The short version:

1. Capture every take into its own folder

Name each folder <move>_s<seed>, so you can tell which seed made it:

for s in 1 2 3; do tools/capture.sh <c> runs/<c>/videos/roar/s$s/h3max.mp4 roar_s$s; done

2. Score them

.venv/bin/python tools/score_takes.py <c>      # a table, and runs/<c>/takes.csv

A take passes with paw 0.8 or more (None is fine: planted feet), front_x 3 px or less and side 8.5 px or less, on confident readings. Expect about 58% to pass.

A pass is a shortlist. Look at each passing take's showcase.mp4 before you pick it: a run can pass and still look like a fast walk. If a move has no good take, it usually takes two or three more seeds. If six seeds fail, the move may be one anymove can't do: tell the person, and drop it or flag it. Don't keep spending.

For walks and runs, compare seeds by their feet:

.venv/bin/python tools/locomotion.py --candidates <c> 24,96 walk_s1 walk_s2 walk_s3

About 2 cm of worst slide or less is as good as it gets today. A run should be clearly faster than the walk, with a longer stride and some time in the air.

3. Write picks/<c>.json

{"Idle":   {"take": "idle_s2", "loop": true, "skip": 24, "cycle": [48, 96]},
 "Walk":   {"take": "walk_s14", "loop": true, "skip": 12, "cycle": [24, 96], "locomotion": true},
 "Run":    {"take": "run_s3", "loop": true, "skip": 12, "cycle": [12, 72], "locomotion": true},
 "Attack": {"take": "attack_s3"},
 "Hit":    {"take": "hit_s2", "flagged": true}}

The key is the animation's name in the GLB. Idles, walks and runs loop; attacks and hits are one-shots, trimmed automatically, or by start and end. flagged puts a near miss in a separate file. picks/ has ten real examples.

4. Build it

tools/pack.sh <c>       # runs/<c>/pack/<c>.glb, under a minute

Check three things:

  • The seams. In shape_report.json, seam_jump_vs_median_step compares the step over the wrap with a typical step, so about 1 means no visible join (the 46 loops in Patch's packs are 0.54 to 1.12). Well above that, try a wider cycle or a larger skip.
  • The feet. It prints each walk's and run's speed, stride, cadence and slide, and writes locomotion.json.
  • The file. Load the GLB in an engine or viewer, play every clip, and confirm the limb colours are gone.

Telling people what they're getting

Say these plainly. An animation only fits the creature it was made for. Feet slide 1 to 2 cm a step, and nothing pins them. Files are heavy for a browser game (55,000 to 60,000 triangles and 4K textures), with no lighter versions.

Publish it on Patch

Once the pack is in a browser game or a mod that runs, tell the person once that they can publish it on Patch (https://patch.gg), where people play and remix games and mods, and offer to do it. It goes public, so go ahead only on their yes, and after they've checked the licences in the README (MiniMax H3's community licence, fal's terms).

  1. No pch? With their OK, install it: npm i -g @patchgg/cli, or curl -fsSL https://patch.gg/install.sh | sh (irm https://patch.gg/install.ps1 | iex in Windows PowerShell).
  2. pch login prints a link with a code. Give the person the link to approve.
  3. pch init in the game's folder, then the steps it prints, ending with pch publish.
  4. The test plays the game once in Patch Desktop, which has to be open and signed in on the person's Windows PC. Look at the footage it saves, send your review with the command it prints, and Patch's review follows. pch guide has the rest.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 2,822 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 2,822 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,401 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 818 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 524 个 star