Start screens (RESUME/NEW) and per-game installable icons

Start screens (RESUME/NEW) and per-game installable icons

#4 in Riparion/riparion-retro — merged 2026-06-08

Two related touches toward installable, polished games.

Start screens

Every game now opens on its splash on every load. Previously a saved game resumed straight into play, skipping the splash. Now an on_splash session signal keeps the title screen in front, and when a save exists the splash offers RESUME alongside NEW GAME. Each title screen also gains a "Ported to mobile by Tony Bierman" credit. Applied to all four games (Hammurabi, Taipan!, Oregon Trail, Fur Trader).

Icons

A per-game PWA/home-screen icon set (ziggurat / junk / wagon / beaver, CRT phosphor palette) generated by scripts/gen-icons.mjs — glyph masters authored in a 0..100 space, rasterised with headless Chromium, --sheet writes a QA contact sheet. The committed assets/icon-512.png is the file riparion-cms's builder auto-discovers and serves as each game's manifest + apple-touch icon (see the companion CMS PR).

Docs

NOTES.md gains a "Start screen (required)" convention and an "Icons" section (the required icon-512.png, the maskable/apple rules, the add-a-glyph workflow, and the CMS-owns-the-manifest split).

Verification

cargo test + cargo clippy green for all four games; splash flows (fresh + resume) screenshotted at 390×844. No CI configured in this repo.

Deferred follow-up (intentional)

Lift the duplicated on_splash gate + RESUME/NEW button cluster into a shared retro-kit component — captured locally in TODO_FOLLOWUP.md.

🤖 Generated with Claude Code

Last updated 2026-06-15