feat: refine exploration presentation and audio flow

This commit is contained in:
2026-07-28 05:00:24 +09:00
parent 1773bffbf2
commit 495f98372c
20 changed files with 2295 additions and 354 deletions

View File

@@ -85,6 +85,21 @@ assert.match(
/export function ensureExplorationCharacterAnimations\(/,
'The module must expose exploration animation registration.'
);
assert.match(
moduleSource,
/export function explorationCharacterFrameFor\(/,
'The module must expose deterministic direction and motion frame lookup.'
);
assert.match(
moduleSource,
/export function applyExplorationCharacterMotion\(/,
'The module must expose shared reduced-motion-aware animation application.'
);
assert.match(
moduleSource,
/if \(reducedMotion && motion === 'idle'\)\s*\{\s*sprite\.anims\.stop\(\);\s*sprite\.setFrame\(explorationCharacterFrameFor\('idle', direction\)\);/s,
'Reduced motion must freeze only decorative idle loops on the matching direction frame.'
);
assert.match(
moduleSource,
/export function releaseExplorationCharacterTextures\(/,