Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 24x | import { synesthesiaDecideSkin } from './decide.ts';
import { renderSynesthesiaChrome } from './gameplay-chrome.ts';
import {
SYNESTHESIA_BOMB_DURATION_MS,
renderSynesthesiaBombs,
renderSynesthesiaLanes,
renderSynesthesiaLongNote,
renderSynesthesiaMine,
renderSynesthesiaNote,
} from './playfield.ts';
import { synesthesiaResultSkin } from './result.ts';
import { synesthesiaSelectSkin } from './select.ts';
import { BE_MUSIC_SKIN_API_VERSION, cabinetStage, tallStage, type BeMusicSkin } from '@be-music/player-skin-sdk';
import { definePixiSkin } from '../pixi-kit/index.ts';
import { JUDGMENT_PARTICLES_SETTING } from './burst-budget.ts';
import { FROSTED_GLASS_SETTING } from './glass.ts';
import { COMBO_MILESTONE_SETTING } from './moments.ts';
/**
* Synesthesia — a skin after synaesthetic sound-and-light rhythm games: deep space,
* streaming 3D stars, a wireframe floor grid, glass panels, colour that keeps time with the music, and hits that
* detonate as perspective-projected particle bursts.
*/
export const synesthesiaSkin: BeMusicSkin = definePixiSkin({
apiVersion: BE_MUSIC_SKIN_API_VERSION,
id: 'synesthesia',
label: 'Synesthesia',
version: '1.0.0',
author: { name: 'Be-Music', url: 'https://github.com/nulltask/be-music' },
description:
'A cosmic particle world in ember and gold with electric blue and magenta accents, where the space flies, flocks, and bursts with the music.',
homepage: 'https://github.com/nulltask/be-music',
license: 'MIT',
fontLoads: ['400 16px "Orbitron"', '500 16px "Orbitron"', '300 12px "M PLUS 1p"', '500 12px "M PLUS 1p"'],
stage: cabinetStage,
portraitStage: tallStage,
settings: [FROSTED_GLASS_SETTING, JUDGMENT_PARTICLES_SETTING, COMBO_MILESTONE_SETTING],
gameplay: {
renderChrome: renderSynesthesiaChrome,
renderLanes: renderSynesthesiaLanes,
renderNote: renderSynesthesiaNote,
renderMine: renderSynesthesiaMine,
renderLongNote: renderSynesthesiaLongNote,
renderBombs: renderSynesthesiaBombs,
bombDurationMs: SYNESTHESIA_BOMB_DURATION_MS,
// The HUD's Orbitron, in its gold and ember with the electric blue and magenta accents.
guideLabel: {
fontFamily: 'Orbitron',
fontWeight: '500',
fontSize: 11,
colors: { bpm: 0xffd08a, stop: 0xff7a1e, scroll: 0x3fb4ff, speed: 0xff3d9e },
},
// Deep space with faint ember stripes, and an ember line along the edge the notes come from.
laneCover: { color: 0x07040a, stripeColor: 0xff7a1e, stripeAlpha: 0.07, edgeColor: 0xff8a2a, edgeAlpha: 0.55 },
},
select: synesthesiaSelectSkin,
decide: synesthesiaDecideSkin,
result: synesthesiaResultSkin,
});
|