comparison doc/roadmap.md @ 4:2d46729a022e

sound processing and in-game sounds
author ark
date 2026-10-18 20:58 +0200
parents 3dd5b745fa08
children 910b26feca76
comparison
equal deleted inserted replaced
3:cc0c32e71090 4:2d46729a022e
115 map3. 2 s between groups, 4 s before the boss. totals: 102, 199, 398, 600 115 map3. 2 s between groups, 4 s before the boss. totals: 102, 199, 398, 600
116 coins 116 coins
117 117
118 game: 118 game:
119 119
120 - scripts share the namespace object MM. audio.js and storage.js are not 120 - scripts share the namespace object MM. storage.js is not written yet
121 written yet
122 - the simulation runs on wall clock time: at 60 frames per second, 2x gives 121 - the simulation runs on wall clock time: at 60 frames per second, 2x gives
123 two steps per frame. at most 4 steps per frame and speed step; a longer 122 two steps per frame. at most 4 steps per frame and speed step; a longer
124 frame drops the rest 123 frame drops the rest
125 - there is no title or map selection yet. the game starts on 124 - there is no title or map selection yet. the game starts on
126 debug.start_map. the won and lost screens offer a restart only 125 debug.start_map. the won and lost screens offer a restart only
153 and bonus for the early start. the top bar needs about 500 css pixels of 152 and bonus for the early start. the top bar needs about 500 css pixels of
154 width; narrower screens are not handled 153 width; narrower screens are not handled
155 - debug switches: all from architecture.md except unlocking maps, which waits 154 - debug switches: all from architecture.md except unlocking maps, which waits
156 for step 7. start_coins -1 means the map's own value, seed 0 a new seed per 155 for step 7. start_coins -1 means the map's own value, seed 0 a new seed per
157 run 156 run
157 - sound: the first pointer or touch event anywhere unlocks audio, as there
158 is no title screen yet. sound is switched off only in the config. beeps
159 use a square wave. variants are picked with Math.random, not the seeded
160 generator, so sound does not change a repeated run. a sound that cannot be
161 played at once (audio still locked) is dropped, not queued
158 - towers at scale 0.25 are small: t1 level 1 is about 43 x 30 map pixels. 162 - towers at scale 0.25 are small: t1 level 1 is about 43 x 30 map pixels.
159 worth a look with the hop and squash check of step 3 163 worth a look with the hop and squash check of step 3