|
0
|
1 sound
|
|
|
2 -----
|
|
|
3
|
|
|
4 the first version uses placeholder beeps, generated in the browser (web audio
|
|
|
5 oscillator, a few notes each). voice recordings replace them later, one event
|
|
|
6 at a time.
|
|
|
7
|
|
|
8
|
|
|
9 events
|
|
|
10 ------
|
|
|
11
|
|
|
12 | event | notes |
|
|
|
13 |----------------------|-------|
|
|
|
14 | t0 attack | |
|
|
|
15 | t1 shot | |
|
|
|
16 | t2 shot | |
|
|
|
17 | t3 shot | |
|
|
|
18 | monster hit | frequent; keep short or play only some of them |
|
|
|
19 | monster dies | |
|
|
|
20 | boss appears | |
|
|
|
21 | boss dies | |
|
|
|
22 | coins arrive | at most one per short interval |
|
|
|
23 | monster reaches exit | a heart is lost |
|
|
|
24 | wave starts | |
|
|
|
25 | early start bonus | |
|
|
|
26 | tower built | |
|
|
|
27 | tower upgraded | |
|
|
|
28 | tower sold | |
|
|
|
29 | placement refused | no legal spot within reach |
|
|
|
30 | button tap | |
|
|
|
31 | map won | |
|
|
|
32 | map lost | |
|
|
|
33
|
|
|
34 several recordings per event are allowed; the game picks one at random.
|
|
|
35
|
|
|
36
|
|
|
37 recordings
|
|
|
38 ----------
|
|
|
39
|
|
|
40 - recorded on any device, supplied in any common format
|
|
|
41 - the build trims silence, evens out volume, converts to one format that
|
|
|
42 desktop browsers and tablets (including safari) play, and embeds the result
|
|
|
43 as base64 in a javascript file. see architecture.md for why
|
|
|
44 - named after the event, with a number for variants
|
|
|
45
|
|
|
46 browsers only play sound after the first user interaction. the first tap on
|
|
|
47 the title screen unlocks audio.
|
|
|
48
|
|
|
49 sound can be switched off; the setting is stored with the other settings.
|