feedback2 WK: an unblocked ranged enemy stands for each attack's clip (its wind-up and the rest of the clip), then walks on; build-data copies each enemy's attack clip into enemies.json attackAnim (GitHub #58)

This commit is contained in:
sganggs committed 2026-10-04 02:49:25 +08:00
1 parent 50c9b5b1b6
commit 0623336f30
11 files changed
+254 -22

No files matched your search

+4
View File
@@ -189,6 +189,10 @@ All paths are URL paths relative to the site root, for example `/assets/char/ava
}
```
The enemies' attack clip lengths are also a data input: `tools/build-data.mjs` copies each enemy model's
`anims.attack.loop` length and first `hits` time into data/enemies.json `attackAnim` (the sim stands an unblocked
ranged enemy for that clip, GitHub #58; docs/DATA.md §9) — rebuild the data after a manifest change that touches them.
### The `Roles` object
```js