feat: refine exploration presentation and audio flow
This commit is contained in:
@@ -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\(/,
|
||||
|
||||
Reference in New Issue
Block a user