diff options
Diffstat (limited to 'docs/physics.org')
| -rw-r--r-- | docs/physics.org | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/physics.org b/docs/physics.org index 233ffc8..9c57cc1 100644 --- a/docs/physics.org +++ b/docs/physics.org @@ -255,7 +255,10 @@ entity list. *** apply-animation - *Reads*: =#:animations=, =#:anim-name=, =#:anim-frame=, =#:anim-tick= -- *Writes*: =#:anim-tick=, =#:anim-frame=, =#:tile-id=, =#:duration= + (the tick budget each step is =animation-frame-duration= on the current + animation + frame index — see =docs/animation.org=). +- *Writes*: =#:anim-tick=, =#:anim-frame=, =#:tile-id=, =#:anim-duration= + (=#:anim-duration= mirrors the resolved budget for the current frame). - *Guard*: only runs when =#:animations= is present. - Advances the per-entity animation state machine and updates =#:tile-id= so the renderer draws the correct sprite. Fully |
