@polycode-projects/the-mechanical-code-talker 5.0.21 → 5.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,6 +49,10 @@ import { runAdventureAutoplayTick, exposedFacts } from "../../services/adventure
49
49
  import { parseWorldEditorText, planWorldEditorSync } from "../../services/adventure-editor.mjs";
50
50
  import { resolveSpriteForClass, SPRITE_REGISTRY, classAncestorChain } from "../../domain/sprite-map.mjs";
51
51
  import { resolveSpriteAsset } from "../../domain/sprite-templates.mjs";
52
+ import {
53
+ isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
54
+ focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
55
+ } from "../../domain/sprite-animation.mjs";
52
56
  import { relatedForTerm } from "../../domain/skos-view.mjs";
53
57
  import { directedGridLayout, roomGraphSvg } from "../../services/viz-room-graph.mjs";
54
58
  import { openPersistedStore } from "./idb-persist.mjs";
@@ -257,5 +261,12 @@ publishTmctSurface({
257
261
  worldDigestRows, roomAffordances, foldWorldState, exposedFacts,
258
262
  relatedForTerm, classAncestorChain, openPersistedStore,
259
263
  directedGridLayout, roomGraphSvg,
264
+ // The sprite pages' shared animation state machine
265
+ // (sprite-animation.mjs), published so this page can drive the same
266
+ // hover flip / turning / walk behaviour over the sprites it resolves.
267
+ spriteAnimation: {
268
+ isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
269
+ focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
270
+ },
260
271
  },
261
272
  });