From 138f28542a31e3aacde771e91964905b2632eaf7 Mon Sep 17 00:00:00 2001 From: Giancarmine Salucci Date: Tue, 31 Mar 2026 22:38:37 +0200 Subject: [PATCH] =?UTF-8?q?feat(SCOPONE-0005):=20complete=20iteration=202?= =?UTF-8?q?=20=E2=80=94=20move=20turn=20indicators=20below=20player=20card?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scenes/GameScene.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scenes/GameScene.ts b/src/scenes/GameScene.ts index 3595736..cc04248 100644 --- a/src/scenes/GameScene.ts +++ b/src/scenes/GameScene.ts @@ -409,10 +409,10 @@ export class GameScene extends Phaser.Scene { private buildPlayerLabels(W: number, H: number): void { const defs: Array<{ idx: PlayerIndex; x: number; y: number; color: string; txt: string; originX: number; originY: number }> = [ - { idx: 0, x: W / 2, y: H - CH_H - 28, color: '#aaffaa', txt: 'Tu [Team A]', originX: 0.5, originY: 1 }, - { idx: 1, x: CH_A + 20, y: H / 2 + SCOREBAR_H / 2, color: '#ffaaaa', txt: 'AI\nOvest\n[B]', originX: 0, originY: 0.5 }, - { idx: 2, x: W / 2, y: SCOREBAR_H + CH_A + 44, color: '#aaffaa', txt: 'Compagno [Team A]', originX: 0.5, originY: 0 }, - { idx: 3, x: W - CH_A - 20, y: H / 2 + SCOREBAR_H / 2, color: '#ffaaaa', txt: 'AI\nEst\n[B]', originX: 1, originY: 0.5 }, + { idx: 0, x: W / 2, y: H - 8, color: '#aaffaa', txt: 'Tu [Team A]', originX: 0.5, originY: 1 }, + { idx: 1, x: 6, y: H / 2 + SCOREBAR_H / 2, color: '#ffaaaa', txt: 'AI\nOvest\n[B]', originX: 0, originY: 0.5 }, + { idx: 2, x: W / 2, y: SCOREBAR_H + 8, color: '#aaffaa', txt: 'Compagno [Team A]', originX: 0.5, originY: 0 }, + { idx: 3, x: W - 6, y: H / 2 + SCOREBAR_H / 2, color: '#ffaaaa', txt: 'AI\nEst\n[B]', originX: 1, originY: 0.5 }, ]; for (const d of defs) { const lbl = this.add.text(d.x, d.y, d.txt, {