wobblyhead hg > minor_monsters
diff doc/roadmap.md @ 4:2d46729a022e
sound processing and in-game sounds
| author | ark |
|---|---|
| date | 2026-10-18 20:58 +0200 |
| parents | 3dd5b745fa08 |
| children | 910b26feca76 |
line wrap: on
line diff
--- a/doc/roadmap.md Sun Oct 18 20:09:40 2026 +0200 +++ b/doc/roadmap.md Sun Oct 18 20:58:33 2026 +0200 @@ -117,8 +117,7 @@ game: -- scripts share the namespace object MM. audio.js and storage.js are not - written yet +- scripts share the namespace object MM. storage.js is not written yet - the simulation runs on wall clock time: at 60 frames per second, 2x gives two steps per frame. at most 4 steps per frame and speed step; a longer frame drops the rest @@ -155,5 +154,10 @@ - debug switches: all from architecture.md except unlocking maps, which waits for step 7. start_coins -1 means the map's own value, seed 0 a new seed per run +- sound: the first pointer or touch event anywhere unlocks audio, as there + is no title screen yet. sound is switched off only in the config. beeps + use a square wave. variants are picked with Math.random, not the seeded + generator, so sound does not change a repeated run. a sound that cannot be + played at once (audio still locked) is dropped, not queued - towers at scale 0.25 are small: t1 level 1 is about 43 x 30 map pixels. worth a look with the hop and squash check of step 3
