fix(SCOPONE-0004): improve UI text readability and score bar contrast

- MenuScene: add resolution: 2 to all text styles for crisp rendering
- GameScene score bar: solid opaque background, brighter column headers (#999999), visible gold separator (alpha 0.7), resolution: 2
- GameScene player labels: reposition to viewport edges (South bottom, West left, East right), North after cards near table
- Add resolution: 2 to all player label text styles
This commit is contained in:
Giancarmine Salucci
2026-03-31 21:34:18 +02:00
parent 54a55b9269
commit 6c01044c71
3 changed files with 33 additions and 16 deletions

View File

@@ -19,12 +19,14 @@ export class MenuScene extends Phaser.Scene {
color: '#ffd700',
stroke: '#000000',
strokeThickness: 4,
resolution: 2,
}).setOrigin(0.5);
this.add.text(W / 2, H * 0.32, '2 vs 2 · Tu + Compagno vs 2 AI', {
fontFamily: 'serif',
fontSize: '22px',
color: '#ccffcc',
resolution: 2,
}).setOrigin(0.5);
// Rules summary
@@ -39,6 +41,7 @@ export class MenuScene extends Phaser.Scene {
fontFamily: 'serif',
fontSize: '18px',
color: '#ffffff',
resolution: 2,
}).setOrigin(0.5);
});
@@ -49,6 +52,7 @@ export class MenuScene extends Phaser.Scene {
fontFamily: 'Georgia, serif',
fontSize: '22px',
color: '#1a5c2a',
resolution: 2,
}).setOrigin(0.5);
btn.on('pointerover', () => btn.setFillStyle(0xffec6e));