Every game over unlocks the profile and frees the name, so the menu always asks
for a new player name: the field is empty at every boot, restart or game over and
the game does not start without a name (no anonymous scores). The player identity
is derived from the entered name (deterministic FNV-1a, 16 hex chars valid for the
public API) and the profile keeps the best score per name. Backend untouched.
Mouse: player._ready() captured the pointer before the menu existed, so the start
screen was not clickable. The cursor now always starts visible; the capture happens
only in player.begin_play(), called by start_game(). New `playing` flag gates Esc
and the Web click capture to the actual match.
Linux export preset: single-file x86_64 binary with the PCK embedded, no
libstdc++ dependency, official 4.7.1 template (glibc >= 2.28). Notes and the
export_presets.cfg `#`-is-not-a-comment trap documented in docs/KIOSK-ARCADE.md.
Tests: profile 30/30, start screen 15/15 (cursor free at menu, captured only in
game), boss 50/50, rebalance 14/14, touch 14 PASS, API 42/42, all other suites pass.
- services/scores-api: microservizio (solo stdlib) con SQLite WAL, idempotenza per
submission_id, limiti di frequenza e validazione; immagine Docker non-root.
- nginx: reverse proxy su /api/zombie-fps/ (stessa origine del gioco, niente CORS).
- scripts/leaderboard.gd: client HTTP con retry idempotente; su desktop la classifica
resta disattivata senza --api=, cosi' i test non sporcano la classifica pubblica.
- scripts/player_profile.gd: nome, id anonimo e miglior punteggio in user:// e in
window.localStorage; il nome scelto non viene piu' richiesto; riparazione dei
profili con la stringa "null".
- scripts/start_screen.gd: menu con nome, GIOCA e classifica; la partita parte solo
dal pulsante (via la rete di sicurezza sull'input, Invio nel campo non avvia).
- scripts/main.gd, player.gd: avvio esplicito, segnale died, nota dell'invio.
- tools: test_scores_api.py (42), test_leaderboard (14), test_player_profile (21),
test_start_screen (10); suite esistenti adeguate all'avvio manuale.
- docs/HIGHSCORES.md + docs/WEB-DEPLOY.md aggiornati.
- scripts/touch_controls.gd: full-screen layer routing multi-touch by touch
index: floating joystick on the left half (analog move_* actions), look area
on the right half, FIRE/GRENADE/RELOAD/JUMP buttons. Shown automatically on
web_android/web_ios or a touchscreen; overridable with --touch/--no-touch and
?touch=1/?touch=0. The root Control uses MOUSE_FILTER_IGNORE on purpose: a
STOP control swallows the first click and the Web start gate never fires.
- scripts/player.gd: touch_mode disables mouse look and pointer lock; view
rotation moved to apply_look() shared by mouse and touch; reload and grenade
are polled now (is_action_just_pressed) like shoot/jump, because an
InputEventAction synthesised inside another event's dispatch does not reach
_unhandled_input; start_reload() extracted; get_vector uses an explicit 0.2
dead zone so the joystick keeps its full travel.
- scripts/main.gd: creates the layer when needed, accepts a screen touch as the
start gesture (which also unlocks browser audio) and enables the layer only
afterwards.
- tools/test_touch_controls.gd: 11 assertions (joystick movement, look
rotation, simultaneous multi-touch, fire hold/release, reload, grenade, jump,
detection) runnable headless and on a real display.
- docs/TOUCH-CONTROLS.md: detection rules, input model, verification.
- assets/audio/music/zombie_industrial_loop.ogg: 57.60 s Ogg Vorbis loop
generated locally with YuE2-3B on the Tesla V100 (score written for this
track; vocals removed with HTDemucs). The loop is spliced at the track's
structural repeat with a 0.6 s crossfade: measured seam dip <= 1.6 dB.
- scripts/main.gd: "Music" AudioStreamPlayer at -11 dB, started at boot on
desktop and on the start click on Web (browser autoplay policy). It forces
stream.loop at runtime because the Web staging step re-imports the OGG with
loop=false.
- tools/test_music.gd: soundtrack test (loop, length, volume, playback,
still playing after player death).
- docs/MUSIC.md: source, loop construction, verification, licence.
- docs/WEB-DEPLOY.md: release ab6054111f5919a8 notes.
Initial commit of the project.