Skip to content

feat(fp): crisp, near-square HUD look - #12

Merged
KunalSiyag merged 1 commit into
mainfrom
fp/hud-polish
Oct 20, 2026
Merged

KunalSiyag merged 1 commit into
mainfrom
fp/hud-polish

Conversation

@KunalSiyag

Copy link
Copy Markdown
Owner

What

A visual-only polish of the street-level HUD toward a crisp, Valorant-like look. No gameplay, input or layout logic changes.

  • Style tokens (scripts/fp/ui/hud_style.gd):
    • RADIUS (2) and RADIUS_PANEL (3).
    • A CHIP_LINE hairline.
    • A display() font (heavy, tracked sans).
    • Helpers: caps_label(), caps_width(), stripe().
    • Menu buttons, compact buttons and key caps now use RADIUS.
  • Chips: square backing with a bottom hairline. A chip in the warn or fail state tints the hairline with that colour, and the pulse fades back to it.
  • Toasts and banner: toasts get a 2 px left stripe in their kind colour. The incident banner uses tracked caps with a 3 px red stripe.
  • District caption: caps in display() with a cyan rule and a caps mayor line. Lilita One stays for the pause and map titles only.
  • Other widgets: the prompt, drive chip, speedometer, phone, place card, pause menu and map card use the new radii. The speedometer and the phone's district title use display().
  • Not changed: the chat panel and ticker keep their gold look by design.

Labels keep their original text, so tests and caption_text() / banner_text() are unaffected. Caps come from Label.uppercase.

Checks

  • tools/gate.sh full: PASS (no flaky retries).
  • pre-commit on the changed files: PASS. API docs regenerated.
  • Windowed 1280x720 captures were compared before and after. The phone title was shrunk to 15 px so the district name fits on one line in caps.

Sharpen the on-foot HUD toward a tactical-shooter look without changing behaviour.

- hud_style: RADIUS (2) and RADIUS_PANEL (3) tokens, a CHIP_LINE hairline,
  display() (heavy tracked sans), caps_label(), caps_width() and stripe().
- Chips: square backing with a bottom hairline that takes the warn or fail colour.
- Toasts get a 2 px left stripe in their kind colour; the incident banner is caps
  with a red stripe.
- District caption: tracked caps in display(), cyan rule, caps mayor line.
- Prompt, drive chip, speedometer, phone, place card, pause menu and map card use
  the new radii; the speedometer and phone title use display().
- The chat panel and ticker keep their gold look.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Automated review

No new findings on the 11 changed files (gdlint, complexity, TODO policy, dead code).

Run python3 tools/checks/run_all.py locally for the full set of checks.

@KunalSiyag
KunalSiyag merged commit d47a816 into main Oct 20, 2026
8 checks passed
@KunalSiyag
KunalSiyag deleted the fp/hud-polish branch October 20, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant