Il flipper del River: la tavola di Codex con San Piero dipinto (Fortezza, Pieve, torre, la Sieve fra i flipper, il Regolo con la corona, le bandiere dei rioni) e sopra le parti meccaniche del gioco: molla, arco, corsie dei rioni (tutte e quattro: PALIO), funghi, bersagli a caduta, Regolo, sponde elastiche, due flipper; fisica a passo fisso, tre palline, tre livelli (Andrea)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GiECd9RWGMKV7n3K1mdy8T
This commit is contained in:
2026-10-31 18:53:04 +01:00
co-authored by Claude Fable 5.1
parent 449c9511e1
commit 7076123fcf
28 changed files with 677 additions and 14 deletions
+6
View File
@@ -15,6 +15,7 @@ import { drawCorsa } from './corsa.js';
import { drawCondor } from './condor-render.js';
import { drawCampana } from './campana-render.js';
import { drawBruciate } from './bruciate-render.js';
import { drawFlipper } from './flipper-render.js';
import { drawPoker } from './poker-render.js';
import { drawViaggio } from './viaggio.js';
import { drawIncanto } from './incanto.js';
@@ -1055,6 +1056,11 @@ function drawCloseup(ctx, game, time) {
drawCampana(ctx, c, def, backgrounds.get(def.picture));
return;
}
if (def.type === 'flipper') {
if (!backgrounds.has(def.picture)) loadBackground(def.picture);
drawFlipper(ctx, c, def, backgrounds.get(def.picture));
return;
}
if (def.type === 'bruciate') {
if (!backgrounds.has(def.picture)) loadBackground(def.picture);
drawBruciate(ctx, c, def, backgrounds.get(def.picture));