diff --git a/assets/characters/macchina-tempo.json b/assets/characters/macchina-tempo.json new file mode 100644 index 0000000..1382775 --- /dev/null +++ b/assets/characters/macchina-tempo.json @@ -0,0 +1,22 @@ +{ + "image": "macchina-tempo.png", + "height": 158, + "frames": { + "stand": { + "x": 0, + "y": 0, + "w": 361, + "h": 158, + "ax": 180, + "ay": 152 + }, + "talk": { + "x": 0, + "y": 0, + "w": 361, + "h": 158, + "ax": 180, + "ay": 152 + } + } +} \ No newline at end of file diff --git a/assets/characters/macchina-tempo.png b/assets/characters/macchina-tempo.png new file mode 100644 index 0000000..7510fb6 Binary files /dev/null and b/assets/characters/macchina-tempo.png differ diff --git a/assets/voices/andrea-122877af14.mp3 b/assets/voices/andrea-122877af14.mp3 new file mode 100644 index 0000000..b6d002b Binary files /dev/null and b/assets/voices/andrea-122877af14.mp3 differ diff --git a/assets/voices/andrea-1cb9f950ca.mp3 b/assets/voices/andrea-1cb9f950ca.mp3 new file mode 100644 index 0000000..0be10f2 Binary files /dev/null and b/assets/voices/andrea-1cb9f950ca.mp3 differ diff --git a/assets/voices/andrea-1f686a5d7c.mp3 b/assets/voices/andrea-1f686a5d7c.mp3 new file mode 100644 index 0000000..15e369e Binary files /dev/null and b/assets/voices/andrea-1f686a5d7c.mp3 differ diff --git a/assets/voices/andrea-299c0c38d6.mp3 b/assets/voices/andrea-299c0c38d6.mp3 new file mode 100644 index 0000000..d6c7783 Binary files /dev/null and b/assets/voices/andrea-299c0c38d6.mp3 differ diff --git a/assets/voices/andrea-808f67b99f.mp3 b/assets/voices/andrea-808f67b99f.mp3 new file mode 100644 index 0000000..12d9902 Binary files /dev/null and b/assets/voices/andrea-808f67b99f.mp3 differ diff --git a/assets/voices/andrea-8f9dcb0bb1.mp3 b/assets/voices/andrea-8f9dcb0bb1.mp3 new file mode 100644 index 0000000..b0875de Binary files /dev/null and b/assets/voices/andrea-8f9dcb0bb1.mp3 differ diff --git a/assets/voices/andrea-94988dc8c6.mp3 b/assets/voices/andrea-94988dc8c6.mp3 new file mode 100644 index 0000000..c05a6cb Binary files /dev/null and b/assets/voices/andrea-94988dc8c6.mp3 differ diff --git a/assets/voices/andrea-97d75e2a9d.mp3 b/assets/voices/andrea-97d75e2a9d.mp3 new file mode 100644 index 0000000..886a1eb Binary files /dev/null and b/assets/voices/andrea-97d75e2a9d.mp3 differ diff --git a/assets/voices/andrea-9f70e8b68e.mp3 b/assets/voices/andrea-9f70e8b68e.mp3 new file mode 100644 index 0000000..6135e2b Binary files /dev/null and b/assets/voices/andrea-9f70e8b68e.mp3 differ diff --git a/assets/voices/andrea-c1db806968.mp3 b/assets/voices/andrea-c1db806968.mp3 new file mode 100644 index 0000000..286f02e Binary files /dev/null and b/assets/voices/andrea-c1db806968.mp3 differ diff --git a/assets/voices/andrea-c9c068f507.mp3 b/assets/voices/andrea-c9c068f507.mp3 new file mode 100644 index 0000000..3e4950e Binary files /dev/null and b/assets/voices/andrea-c9c068f507.mp3 differ diff --git a/assets/voices/andrea-cac0c82f01.mp3 b/assets/voices/andrea-cac0c82f01.mp3 new file mode 100644 index 0000000..0eea512 Binary files /dev/null and b/assets/voices/andrea-cac0c82f01.mp3 differ diff --git a/assets/voices/fra_peppino-651c4d95ab.mp3 b/assets/voices/fra_peppino-651c4d95ab.mp3 new file mode 100644 index 0000000..f7c7a1e Binary files /dev/null and b/assets/voices/fra_peppino-651c4d95ab.mp3 differ diff --git a/assets/voices/fra_peppino-8b3d0a5b8f.mp3 b/assets/voices/fra_peppino-8b3d0a5b8f.mp3 new file mode 100644 index 0000000..1452e30 Binary files /dev/null and b/assets/voices/fra_peppino-8b3d0a5b8f.mp3 differ diff --git a/assets/voices/index.json b/assets/voices/index.json index b26e75c..e0ccddd 100644 --- a/assets/voices/index.json +++ b/assets/voices/index.json @@ -279,6 +279,26 @@ "file": "andrea-68a845881b.mp3", "sec": 1.94 }, + "andrea|Fra Peppino da Gricignano, col saio e i sandali. Sul sagrato sembra nato lì.": { + "file": "andrea-97d75e2a9d.mp3", + "sec": 5.38 + }, + "andrea|Buongiorno, Fra Peppino!": { + "file": "andrea-94988dc8c6.mp3", + "sec": 1.74 + }, + "fra_peppino|Pace e bene, figliolo. Cerchi qualcosa?": { + "file": "fra_peppino-651c4d95ab.mp3", + "sec": 3.72 + }, + "andrea|Il palio. È sparito.": { + "file": "andrea-c9c068f507.mp3", + "sec": 2.39 + }, + "fra_peppino|Le cose sparite, prima o poi, tornano. Come le pecorelle.": { + "file": "fra_peppino-8b3d0a5b8f.mp3", + "sec": 4.47 + }, "andrea|La Pieve di San Pietro. Il mio rione: noi bianchi.": { "file": "andrea-43fd5c2b27.mp3", "sec": 4.46 @@ -655,6 +675,42 @@ "file": "andrea-e47b3cebb5.mp3", "sec": 4.87 }, + "andrea|Voglio giocare a padel!": { + "file": "andrea-808f67b99f.mp3", + "sec": 1.4 + }, + "andrea|Toh, guarda: c'è una macchina del tempo.": { + "file": "andrea-1f686a5d7c.mp3", + "sec": 3.2 + }, + "andrea|Per arrivare al padel mi manca solo un po' di plutonio. Potrei sentire da Alvarino se ce l'ha.": { + "file": "andrea-299c0c38d6.mp3", + "sec": 6.03 + }, + "andrea|Il padel aspetta. Prima il plutonio: devo sentire Alvarino.": { + "file": "andrea-9f70e8b68e.mp3", + "sec": 5.03 + }, + "andrea|Acciaio, portiere ad ali di gabbiano, cavi e bobine dappertutto. E un contenitore vuoto, sul retro.": { + "file": "andrea-122877af14.mp3", + "sec": 7.99 + }, + "andrea|Vuoto di plutonio, si capisce.": { + "file": "andrea-1cb9f950ca.mp3", + "sec": 2.41 + }, + "andrea|Le portiere sono già su. È il plutonio che manca.": { + "file": "andrea-c1db806968.mp3", + "sec": 4.01 + }, + "andrea|Senza plutonio non parte. Alvarino, dove sei?": { + "file": "andrea-8f9dcb0bb1.mp3", + "sec": 3.71 + }, + "andrea|Una macchina in tasca? Neanche nel futuro.": { + "file": "andrea-cac0c82f01.mp3", + "sec": 3.06 + }, "barondeduke|Me la giochi? Ho un sette e un due, ma un sacco di fiducia.": { "file": "barondeduke-52184c7c05.mp3", "sec": 5.58 diff --git a/src/story/story.js b/src/story/story.js index b393895..cafc76e 100644 --- a/src/story/story.js +++ b/src/story/story.js @@ -173,6 +173,9 @@ export const story = { tozzino: { name: 'Il Tozzino', color: '#c8f5b0', sprite: 'assets/characters/tozzino.json' }, barondeduke: { name: 'Il BaronDeDuke', color: '#e0c090', sprite: 'assets/characters/barondeduke.json' }, mariano: { name: 'Mariano', color: '#ffb0a3', sprite: 'assets/characters/mariano.json' }, + // Non parla: è una cosa, disegnata come un personaggio per stare davanti o dietro ad Andrea. + fra_peppino: { name: 'Fra Peppino', color: '#e8c89a', sprite: 'assets/characters/fra-peppino.json' }, + macchina: { name: 'La macchina del tempo', color: '#c8d8e8', sprite: 'assets/characters/macchina-tempo.json' }, }, items: { squama: { @@ -502,13 +505,23 @@ export const story = { map: [56, 45], background: 'assets/scenes/pieve-dalla-salita.png', // Quando parla, dalla statua esce lo spirito di San Pietro con le sue chiavi (disegnato da Codex, idea di Andrea). - speakers: { san_pietro: [300, 100] }, + speakers: { san_pietro: [300, 100], fra_peppino: [412, 196] }, + // Fra Peppino da Gricignano sul sagrato (sprite di Codex dalla foto di Andrea, 25 ottobre). + people: [{ who: 'fra_peppino', at: [412, 236], facing: -1, idle: 'stand', talk: ['talk', 'explain'], blink: 'blink', every: 4.8 }], apparitions: [{ who: 'san_pietro', src: 'assets/characters/spirito-san-pietro.png', at: [300, 232], height: 100 }], // La rampa in primo piano e, dietro il muretto, il sagrato (ci si arriva da sinistra). walk: [[0, 270], [80, 266], [86, 252], [100, 222], [270, 215], [300, 224], [480, 234], [560, 242], [600, 252], [610, 268], [276, 240], [276, 270], [292, 278], [640, 352], [640, 360], [0, 360]], depth: [[215, 0.42], [360, 1.15]], entry: [30, 320], hotspots: [ + { + // Battute provvisorie: le vere le scrive Andrea. + id: 'fra_peppino', name: 'Fra Peppino', box: [402, 202, 20, 34], at: [385, 240], face: 'right', default: 'talk', + actions: { + look: [{ say: 'Fra Peppino da Gricignano, col saio e i sandali. Sul sagrato sembra nato lì.' }], + talk: [{ say: 'Buongiorno, Fra Peppino!' }, { say: 'Pace e bene, figliolo. Cerchi qualcosa?', who: 'fra_peppino', pose: 'bless' }, { say: 'Il palio. È sparito.' }, { say: 'Le cose sparite, prima o poi, tornano. Come le pecorelle.', who: 'fra_peppino', pose: 'explain' }], + }, + }, { id: 'chiesa', name: 'Pieve di San Pietro', box: [108, 78, 166, 132], at: [200, 290], face: 'up', actions: { @@ -1047,8 +1060,12 @@ export const story = { depth: [[210, 0.4], [360, 1.15]], entry: [100, 340], // Il BaronDeDuke nella discesa verso la polisportiva: aspetta chi gli riporta le mutande perse a poker. - speakers: { barondeduke: [230, 243] }, - people: [{ who: 'barondeduke', at: [230, 300], facing: -1, idle: 'stand', talk: ['talk', 'explain'], blink: 'blink', every: 4.6 }], + speakers: { barondeduke: [230, 243], macchina: [360, 212] }, + people: [ + { who: 'barondeduke', at: [230, 300], facing: -1, idle: 'stand', talk: ['talk', 'explain'], blink: 'blink', every: 4.6 }, + // Compare solo dopo che Andrea dice di voler giocare a padel (idea di Andrea, 25 ottobre; sprite di Codex). + { who: 'macchina', at: [360, 262], size: 1.05, idle: 'stand', when: 'macchina_vista' }, + ], hotspots: [ { id: 'campo', name: 'campo secondario', box: [140, 160, 240, 60], at: [330, 254], face: 'up', @@ -1074,6 +1091,25 @@ export const story = { actions: { look: [{ say: 'Il capannone verde del padel.' }, { say: 'Il padel, nel 2007, non so nemmeno cosa sia. Tra qualche anno ci giocheranno tutti, me compreso.' }], open: [{ say: 'Chiuso. E poi non saprei nemmeno da che parte si tiene la racchetta.' }], + use: [{ + if: '!macchina_vista', + then: [ + { say: 'Voglio giocare a padel!' }, + { set: 'macchina_vista' }, + { say: 'Toh, guarda: c\'è una macchina del tempo.' }, + { say: 'Per arrivare al padel mi manca solo un po\' di plutonio. Potrei sentire da Alvarino se ce l\'ha.' }, + ], + else: [{ say: 'Il padel aspetta. Prima il plutonio: devo sentire Alvarino.' }], + }], + }, + }, + { + id: 'macchina', name: 'macchina del tempo', box: [311, 219, 98, 43], at: [290, 290], face: 'right', when: 'macchina_vista', + actions: { + look: [{ say: 'Acciaio, portiere ad ali di gabbiano, cavi e bobine dappertutto. E un contenitore vuoto, sul retro.' }, { say: 'Vuoto di plutonio, si capisce.' }], + open: [{ say: 'Le portiere sono già su. È il plutonio che manca.' }], + use: [{ say: 'Senza plutonio non parte. Alvarino, dove sei?' }], + take: [{ say: 'Una macchina in tasca? Neanche nel futuro.' }], }, }, { diff --git a/tools/voci.json b/tools/voci.json index e10cde1..b97699d 100644 --- a/tools/voci.json +++ b/tools/voci.json @@ -10,5 +10,7 @@ "arcu": { "speaker": "Luis Moray" }, "tozzino": { "speaker": "Xavier Hayasaka", "filtro": "asetrate=24000*1.12,aresample=24000,atempo=0.92" }, "barondeduke": { "speaker": "Craig Gutsy" }, - "mariano": { "speaker": "Gilberto Mathias" } + "mariano": { "speaker": "Gilberto Mathias" }, + "fra_peppino": { "speaker": "Ludvig Milivoj" }, + "macchina": { "speaker": "Andrew Chipper" } }