Skip to content

adj: strengthen HUD blue background and lower terrain visibility - #55

Merged
theghost1980 merged 1 commit into
mainfrom
codex/fix-hud-background-and-lower-terrain-visibility
Feb 8, 2026
Merged

theghost1980 merged 1 commit into
mainfrom
codex/fix-hud-background-and-lower-terrain-visibility

Conversation

@saturnoTest

Copy link
Copy Markdown
Member

Motivation

  • Increase the visual contrast and legibility of the top HUD by replacing the translucent gradient with a solid, saturated blue background.
  • Reduce the visible vertical footprint of the terrain so the floor doesn't dominate the viewport while preserving physics and gameplay.

Description

  • Added HUD_SOLID_BLUE constant and applied it to the HUD image with setTintFill(HUD_SOLID_BLUE) and setAlpha(1) to make the HUD background a solid blue while keeping the existing frame and rounded visuals.
  • Introduced GROUND_VISUAL_DROP_RATIO and shifted the ground visuals down by Math.round(groundBottomHeight * GROUND_VISUAL_DROP_RATIO) to reduce visible terrain area without touching collider sizes, collision setup, player spawn height, or physics.
  • Kept all layout and sizing logic unchanged (HUD sizes/scaling, text/icon sizes, collider creation and refreshBody remain intact), and did not modify any binary assets.

Testing

  • Ran npm run typecheck and it completed successfully.
  • Ran npm run build and the build finished successfully.

Codex Task

@saturnoTest
saturnoTest requested a review from a team February 8, 2026 01:11
@theghost1980
theghost1980 merged commit 353d2db 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