diff --git a/src/config/defaults.ts b/src/config/defaults.ts index 2ec8ad4..0c86a4b 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -71,12 +71,14 @@ export const PALETTE = { neutral: 0x808080, // серый для нейтрального мяча } as const; -// AI personality color tints (дифференциация — visual-style.md) +// AI personality color tints — PALETTE EXCEPTION group B (см. visual-style.md::AI-личности +// + asset-prompts.md::AI portraits). Single source of truth для UI accents, +// portrait prompts и selector цветов. export const AI_PERSONALITY_TINTS = { - defensive: 0x00d0e8, // steel-cyan - aggressive: 0x00f0ff, // base cyan + magenta corona (применяется отдельно) - trickster: 0x00f0ff, // alternating - ghost: 0x00f0ff, // semi-transparent (alpha 0.4) + defensive: 0x00d0e8, // steel-cyan (calm, slightly зеленоватый) + aggressive: 0xff6090, // warm-magenta (мягкий) + hot #ff006e corona отдельно + trickster: 0xa0e0ff, // pale-cyan (playful) + ghost: 0xc0f0ff, // ethereal-cyan (semi-transparent feel) } as const; // Bumper points by type (см. data-contracts.md#leaderboard-formula) diff --git a/src/scenes/MainMenuScene.ts b/src/scenes/MainMenuScene.ts index 740e55b..9adf3c1 100644 --- a/src/scenes/MainMenuScene.ts +++ b/src/scenes/MainMenuScene.ts @@ -1,5 +1,5 @@ import * as Phaser from 'phaser'; -import { GAME_WIDTH, GAME_HEIGHT, PALETTE } from '../config/defaults'; +import { GAME_WIDTH, GAME_HEIGHT, PALETTE, AI_PERSONALITY_TINTS } from '../config/defaults'; import type { AIDifficulty, AIPersonality, @@ -118,10 +118,10 @@ export class MainMenuScene extends Phaser.Scene { flavour: string; color: number; }> = [ - { id: 'defensive', name: 'Бэтти', flavour: 'Защитница — цепкая защита', color: 0x00d0e8 }, - { id: 'aggressive', name: 'Турбо', flavour: 'Атака — активный бустер', color: 0xff6090 }, - { id: 'trickster', name: 'Хитрый Хо', flavour: 'Нестандартный setup', color: 0xa0e0ff }, - { id: 'ghost', name: 'Эхо', flavour: 'Финальный босс (без adaptation в MVP)', color: 0xc0f0ff }, + { id: 'defensive', name: 'Бэтти', flavour: 'Защитница — цепкая защита', color: AI_PERSONALITY_TINTS.defensive }, + { id: 'aggressive', name: 'Турбо', flavour: 'Атака — активный бустер', color: AI_PERSONALITY_TINTS.aggressive }, + { id: 'trickster', name: 'Хитрый Хо', flavour: 'Нестандартный setup', color: AI_PERSONALITY_TINTS.trickster }, + { id: 'ghost', name: 'Эхо', flavour: 'Финальный босс (без adaptation в MVP)', color: AI_PERSONALITY_TINTS.ghost }, ]; const title = this.add