wobblyhead hg > minor_monsters
comparison doc/sound.md @ 6:910b26feca76
full game flow
| author | ark |
|---|---|
| date | 2026-10-19 01:05 +0200 |
| parents | 2d46729a022e |
| children | 2c4fed8baed9 |
comparison
equal
deleted
inserted
replaced
| 5:67bf3c505145 | 6:910b26feca76 |
|---|---|
| 27 | boss dies | boss_die | recorded | | 27 | boss dies | boss_die | recorded | |
| 28 | coins arrive | coins_arrive | at most one per short interval | | 28 | coins arrive | coins_arrive | at most one per short interval | |
| 29 | wave starts | wave_start | | | 29 | wave starts | wave_start | | |
| 30 | early start bonus | early_bonus | | | 30 | early start bonus | early_bonus | | |
| 31 | tower built | tower_built | | | 31 | tower built | tower_built | | |
| 32 | tower upgraded | tower_upgraded | not in the game yet | | 32 | tower upgraded | tower_upgraded | | |
| 33 | tower sold | tower_sold | not in the game yet | | 33 | tower sold | tower_sold | | |
| 34 | placement refused | placement_refused | no legal spot within reach | | 34 | placement refused | placement_refused | no legal spot within reach | |
| 35 | button tap | button_tap | | | 35 | button tap | button_tap | | |
| 36 | map won | map_won | recorded | | 36 | map won | map_won | recorded | |
| 37 | map lost | map_lost | recorded | | 37 | map lost | map_lost | recorded | |
| 38 | 38 |
| 60 the same peak level. the output is mono mp3, which desktop browsers and | 60 the same peak level. the output is mono mp3, which desktop browsers and |
| 61 tablets (including safari) play | 61 tablets (including safari) play |
| 62 - the build embeds art/sounds/ as base64 in game/data/sounds.js. see | 62 - the build embeds art/sounds/ as base64 in game/data/sounds.js. see |
| 63 architecture.md for why | 63 architecture.md for why |
| 64 | 64 |
| 65 browsers only play sound after the first user interaction. for now that is | 65 browsers only play sound after the first user interaction. the play button on |
| 66 the first tap anywhere on the game; later the first tap on the title screen. | 66 the splash screen starts the sound. |
| 67 | 67 |
| 68 sound can be switched off; the setting is stored with the other settings. for | 68 sound can be switched off. for now the switch is the enabled setting in |
| 69 now the switch is the enabled setting in [sound]; the game has no button for | 69 [sound]; the game has no button for it yet. once it has one, the setting is |
| 70 it yet. | 70 stored in the browser (architecture.md, persistence). |
