Skip to content

Commit bef6b0c

Browse files
committed
CG-0MLVV2FOG1H6ZNZK: Fix title/foundation and foundation/tableau overlap in Beleaguered Castle
- FOUNDATION_Y 90->110: adds 11px clear gap below title bottom - TABLEAU_TOP_Y 248->290: adds 15px clear gap below suit labels - Suit label offset +14->+18: better visual separation from foundation slots
1 parent 83be88d commit bef6b0c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

example-games/beleaguered-castle/scenes/BeleagueredCastleScene.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ const TABLEAU_MAX_Y = GAME_H - 40 - BC_CARD_H / 2; // ~613
9292

9393
/** Top area: title + foundations */
9494
const TITLE_Y = 20;
95-
const FOUNDATION_Y = 90;
95+
const FOUNDATION_Y = 110;
9696

9797
/** Tableau starts below the foundations. */
98-
const TABLEAU_TOP_Y = 248;
98+
const TABLEAU_TOP_Y = 290;
9999

100100
/** Z-depth for a card being dragged. */
101101
const DRAG_DEPTH = 1000;
@@ -425,7 +425,7 @@ export class BeleagueredCastleScene extends Phaser.Scene {
425425

426426
// Suit label beneath the slot
427427
const label = this.add
428-
.text(x, FOUNDATION_Y + BC_CARD_H / 2 + 14, SUIT_SYMBOL[suit], {
428+
.text(x, FOUNDATION_Y + BC_CARD_H / 2 + 18, SUIT_SYMBOL[suit], {
429429
fontSize: '22px',
430430
color: SUIT_COLOR[suit],
431431
fontFamily: FONT_FAMILY,

0 commit comments

Comments
 (0)