A13: Gamepad and accessibility

Gamepad: PadInput reads pad events in one fixed layout (sticks move and
look, triggers aim and fire, bumpers step slots and build pieces, Start
pauses), fed through ClientInput alongside the keys and mouse. Menus take
South to choose and East or Start to go back. The tutorial names pad
buttons once the pad is used.

Aim assist (option, on by default, pad only): friction across an
opponent in plain sight near the look, and a pull of at most 9 deg/s
while aiming. Client look only; never through cover.

Accessibility (new Access tab): colour-vision sets for the signal colours
(red-green, blue-yellow), checked by simulated colour vision in
test_palette; interface size 90-130%, with the HUD hotbar refitting at the
larger sizes; captions for key sounds with direction; reduce motion
(calmer aim zoom and hurt flash).

Tests for the pad, aim assist, captions, palettes, settings, the menus
driven from a pad, and a pad playing through a real offline session.
make access-captures renders the new screens and options.

Closes #53

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 08:53:30 -05:00
co-authored by Claude Opus 5.5
parent dbe1ef923a
commit 8142e39ab3
48 changed files with 1627 additions and 49 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
.TH TIDEWALL 6 "2026-11-14" "Tidewall" "Games"
.TH TIDEWALL 6 "2026-11-15" "Tidewall" "Games"
.SH NAME
tidewall \- build-and-survive battle royale on a drowning island
.SH SYNOPSIS
@@ -14,6 +14,10 @@ server on the local network, or join one by address. The sea rises in phases
and swallows the low ground; gather salvage, build, and be the last one
standing.
.PP
Play with the keyboard and mouse or a gamepad. Keys, the gamepad layout, aim assist,
colour vision, interface size, captions for sounds and reduced motion are in the
Settings menu; the player guide, docs/PLAY.md in the source, has the details.
.PP
The game's own options below may be given on their own or after
.BR \-\- ;
any other option goes to the Godot engine.
@@ -41,7 +45,7 @@ building, firing and the tide, using your own key bindings.
.SH FILES
.TP
.I ~/.local/share/godot/app_userdata/Tidewall/
Settings and key bindings.
Settings, key bindings and accessibility options.
.SH SEE ALSO
.BR tidewall\-server (6)
.PP