Il Regolo del futuro con la musica di Andrea (flipper-futuro.mp3, la musica cambia con la tavola: tableMusic) al posto del battito sintetico
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GiECd9RWGMKV7n3K1mdy8T
This commit is contained in:
@@ -562,7 +562,7 @@ test('il ball save nel futuro salva una sola volta, conserva campo e sigilli, po
|
||||
test('i tre percorsi del futuro sono raggiungibili con il colpo fisico della paletta', () => {
|
||||
for (const [id, x, y] of [['orbita', 288, 300], ['ponte', 290, 306], ['spira', 308, 320]]) {
|
||||
const c = m.newFlipper(9);
|
||||
Object.assign(c, m.futureLayout(), { table: 'future', future: { hits: { orbita: 0, ponte: 0, spira: 0 }, beatAt: 0 } });
|
||||
Object.assign(c, m.futureLayout(), { table: 'future', future: { hits: { orbita: 0, ponte: 0, spira: 0 } } });
|
||||
m.launch(c, 0.8); c.saveUntil = 0;
|
||||
put(c, { x, y, vx: 0, vy: 180, inPlay: true }); m.hold(c, 'left', 'test', true);
|
||||
let entered = null;
|
||||
|
||||
@@ -24,10 +24,13 @@ test('il brano giusto per titolo, fine e scena', () => {
|
||||
assert.equal(trackFor({ ...s, scenes: { ...s.scenes, i: { indoor: true } } }, { screen: 'game', scene: 'i', phase: sera }), 'g.mp3');
|
||||
});
|
||||
|
||||
test('il flipper del River ha la sua musica, e il file c\'è', () => {
|
||||
test('il flipper del River ha la sua musica, e un\'altra la tavola del futuro', () => {
|
||||
const track = trackFor(story, { screen: 'game', scene: 'river', closeup: 'flipper' });
|
||||
assert.equal(track, 'assets/audio/flipper.mp3');
|
||||
assert.ok(existsSync(track));
|
||||
assert.equal(trackFor(story, { screen: 'game', scene: 'river', closeup: 'flipper', table: 'classic' }), track);
|
||||
const future = trackFor(story, { screen: 'game', scene: 'river', closeup: 'flipper', table: 'future' });
|
||||
assert.equal(future, 'assets/audio/flipper-futuro.mp3', 'il Regolo del futuro ha la sua musica');
|
||||
for (const f of [track, future]) assert.ok(existsSync(f), f);
|
||||
});
|
||||
|
||||
test('volume e muto', () => {
|
||||
|
||||
Reference in New Issue
Block a user