A9 In-game HUD #49

Closed
opened 2026-11-09 05:28:43 +00:00 by claude · 1 comment
Owner

Depends on: A1, M3, B7

Original HUD layout: health and shields, hotbar, materials, build mode, kill feed, players left, and a prominent tide gauge showing the current and next water level.

Acceptance

  • Scales correctly from 1280x720 to 3840x2160, verified by captures.
  • Colour-independent indicators for health and tier.
**Depends on:** A1, M3, B7 Original HUD layout: health and shields, hotbar, materials, build mode, kill feed, players left, and a prominent tide gauge showing the current and next water level. **Acceptance** - Scales correctly from 1280x720 to 3840x2160, verified by captures. - Colour-independent indicators for health and tier.
claude added this to the v0.6 Art, Audio and UI milestone 2026-11-09 05:28:43 +00:00
claude added the priority/hightype/feature labels 2026-11-09 05:28:43 +00:00
claude added this to the Tidewall v1.0 project 2026-11-09 15:00:08 +00:00
eric closed this issue 2026-11-13 14:12:54 +00:00
Author
Owner

Done in 4993601.

Layout (in Tidewall's paper-and-ink look from docs/STYLE.md):

  • Top centre: the tide post. A notched post with the sea filled to its level, a rust notch at the next level and a yellow pointer at the player's height. Beside it: "TIDE I of VII", "Rises in 2:09" (or RISING / HIGH WATER), both levels, and how far the player stands above or below the next line.
  • Top right: "21 of 24 standing", then the kill feed in words ("You took Gannet", "Skerry drowned", "The tide took Thole"). Lines naming you are in oilskin yellow, and lines fade after 9 s.
  • Bottom left: health and armour. Each has a number, a word, quarter notches and its own hatching direction; low health adds "LOW". The game's term is armour, not shields.
  • Bottom centre: the boathook and five slots, with names on two lines, rounds and reserve or counts, and tier pips (filled out of four). The held slot is raised and banded.
  • Bottom right: materials. Above the hotbar in build mode: "BUILDING · Wall in driftwood · costs 10", with "NOT ENOUGH" in words.

Network: snapshots only carry nearby players, so a new reliable FEED message (NetFeed) gives everyone the standing count, the match size and the newest 16 placements with names. It is sent on each placement and phase change, and on joining. Bots get crew names (CrewNames). The parser fuzzer covers FEED: 1,000,000 messages, 0 errors.

Scaling: the project now stretches canvas items from a 1280x720 base. make hud-captures renders hud_720, hud_build_720 and hud_2160 (3840x2160), each opened and checked. The layout is identical at both sizes, and the text and lines are sharp at 4K. The first render cut off item names ("Dock Carbin"); they wrap now.

Tests: test_hud has 9 tests, covering FEED round trips, cuts and malformed input; feed wording; crew names; an offline client told who stands and who drowned; HudState from a server match, including build affordability; the HUD showing only what its state holds; and the session's HUD while playing. make check passes (524).

Not verified: how it reads on a real monitor and at other aspect ratios beyond 16:9 (R6), and the colour-blind presets (A13).

— tidewall-build

Done in 4993601. **Layout** (in Tidewall's paper-and-ink look from `docs/STYLE.md`): - **Top centre: the tide post.** A notched post with the sea filled to its level, a rust notch at the next level and a yellow pointer at the player's height. Beside it: "TIDE I of VII", "Rises in 2:09" (or RISING / HIGH WATER), both levels, and how far the player stands above or below the next line. - Top right: "21 of 24 standing", then the kill feed in words ("You took Gannet", "Skerry drowned", "The tide took Thole"). Lines naming you are in oilskin yellow, and lines fade after 9 s. - Bottom left: **health and armour.** Each has a number, a word, quarter notches and its own hatching direction; low health adds "LOW". The game's term is armour, not shields. - Bottom centre: the boathook and five slots, with names on two lines, rounds and reserve or counts, and **tier pips** (filled out of four). The held slot is raised and banded. - Bottom right: materials. Above the hotbar in build mode: "BUILDING · Wall in driftwood · costs 10", with "NOT ENOUGH" in words. **Network:** snapshots only carry nearby players, so a new reliable `FEED` message (`NetFeed`) gives everyone the standing count, the match size and the newest 16 placements with names. It is sent on each placement and phase change, and on joining. Bots get crew names (`CrewNames`). The parser fuzzer covers FEED: 1,000,000 messages, 0 errors. **Scaling:** the project now stretches canvas items from a 1280x720 base. `make hud-captures` renders `hud_720`, `hud_build_720` and `hud_2160` (3840x2160), each opened and checked. The layout is identical at both sizes, and the text and lines are sharp at 4K. The first render cut off item names ("Dock Carbin"); they wrap now. **Tests:** `test_hud` has 9 tests, covering FEED round trips, cuts and malformed input; feed wording; crew names; an offline client told who stands and who drowned; `HudState` from a server match, including build affordability; the HUD showing only what its state holds; and the session's HUD while playing. `make check` passes (524). **Not verified:** how it reads on a real monitor and at other aspect ratios beyond 16:9 (R6), and the colour-blind presets (A13). — tidewall-build
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: claude/tidewall#49