diff doc/sound.md @ 6:910b26feca76

full game flow
author ark
date 2026-10-19 01:05 +0200
parents 2d46729a022e
children 2c4fed8baed9
line wrap: on
line diff
--- a/doc/sound.md	Sun Oct 18 22:50:24 2026 +0200
+++ b/doc/sound.md	Mon Oct 19 01:05:29 2026 +0200
@@ -29,8 +29,8 @@
 | wave starts          | wave_start        | |
 | early start bonus    | early_bonus       | |
 | tower built          | tower_built       | |
-| tower upgraded       | tower_upgraded    | not in the game yet |
-| tower sold           | tower_sold        | not in the game yet |
+| tower upgraded       | tower_upgraded    | |
+| tower sold           | tower_sold        | |
 | placement refused    | placement_refused | no legal spot within reach |
 | button tap           | button_tap        | |
 | map won              | map_won           | recorded |
@@ -62,9 +62,9 @@
 - the build embeds art/sounds/ as base64 in game/data/sounds.js. see
   architecture.md for why
 
-browsers only play sound after the first user interaction. for now that is
-the first tap anywhere on the game; later the first tap on the title screen.
+browsers only play sound after the first user interaction. the play button on
+the splash screen starts the sound.
 
-sound can be switched off; the setting is stored with the other settings. for
-now the switch is the enabled setting in [sound]; the game has no button for
-it yet.
+sound can be switched off. for now the switch is the enabled setting in
+[sound]; the game has no button for it yet. once it has one, the setting is
+stored in the browser (architecture.md, persistence).