Skip to content

adj: improve splash press-any prompt styling - #52

Merged
theghost1980 merged 1 commit into
mainfrom
codex/update-splashscene-press-any-text-styling
Feb 8, 2026
Merged

theghost1980 merged 1 commit into
mainfrom
codex/update-splashscene-press-any-text-styling

Conversation

@saturnoTest

Copy link
Copy Markdown
Member

Motivation

  • Improve legibility and visual contrast of the "Press any to play" prompt by removing the dark stroke, increasing text weight, and adding a subtle rounded black pill behind the text while leaving gameplay and navigation unchanged.

Description

  • Replace the rectangle overlay with a Phaser.GameObjects.Graphics rounded rectangle pill drawn via fillRoundedRect and constants OVERLAY_ALPHA = 0.62 and OVERLAY_RADIUS = 14 in src/scenes/SplashScene.ts.
  • Remove stroke and strokeThickness from the prompt Text and set fontStyle: 'bold' with a softer shadow (color: '#000000', blur: 6).
  • Recompute overlay size/position in layoutPrompt using getBounds() plus PROMPT_PADDING_X/PROMPT_PADDING_Y so the pill stays centered, padded, and responsive to resize.
  • Preserve the existing subtle pulse tween on the prompt and do not modify any gameplay, audio, or navigation logic.

Testing

  • Ran npm run build and the build completed successfully.
  • Ran npm run typecheck and tsc passed with no errors.

Codex Task

@saturnoTest
saturnoTest requested a review from a team February 8, 2026 00:42
@theghost1980
theghost1980 merged commit 48f61a0 into main Feb 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants