wobblyhead hg > minor_monsters
comparison doc/roadmap.md @ 32:85d23328a215 0.10.0
added intro music, logic for browser audio triggering on splash screen
| author | ark |
|---|---|
| date | 2026-10-20 18:39 +0200 |
| parents | 75deda08db90 |
| children | a464bd43b76c |
comparison
equal
deleted
inserted
replaced
| 31:d1ae50439686 | 32:85d23328a215 |
|---|---|
| 155 two steps per frame. at most 4 steps per frame and speed step; a longer | 155 two steps per frame. at most 4 steps per frame and speed step; a longer |
| 156 frame drops the rest | 156 frame drops the rest |
| 157 - game flow: the first map is debug.start_map, and only the first map | 157 - game flow: the first map is debug.start_map, and only the first map |
| 158 starts at debug.start_wave; the next maps start at wave 1. | 158 starts at debug.start_wave; the next maps start at wave 1. |
| 159 debug.start_coins applies to every map. the splash screen pauses the | 159 debug.start_coins applies to every map. the splash screen pauses the |
| 160 first map, and only its play button responds. the next map starts with its break running, as | 160 first map, and only its buttons respond. the next map starts with its break running, as |
| 161 does the first map after a lost map. the splash screen has a pale veil | 161 does the first map after a lost map. the splash screen has a pale veil |
| 162 over the map, the other screens a dark one | 162 over the map, the other screens a dark one |
| 163 - screens: the scale is the same for all four drawings, set so the widest | 163 - screens: the scale is the same for all four drawings, set so the widest |
| 164 and the tallest fit 92 % of the window width and 90 % of its height, at | 164 and the tallest fit 92 % of the window width and 90 % of its height, at |
| 165 most 1. the separate button image is drawn over the button in the | 165 most 1. the separate button image is drawn over the button in the |
| 250 - death puffs: at the monster's centre, at sprite scale. they grow from 60 % | 250 - death puffs: at the monster's centre, at sprite scale. they grow from 60 % |
| 251 to full size over the first half of their time and fade out over the | 251 to full size over the first half of their time and fade out over the |
| 252 second half. they are dropped when the map ends | 252 second half. they are dropped when the map ends |
| 253 - debug switches: all from architecture.md. start_coins -1 means the map's own value, seed 0 a new seed per | 253 - debug switches: all from architecture.md. start_coins -1 means the map's own value, seed 0 a new seed per |
| 254 run. the debug tower ranges are drawn under the towers | 254 run. the debug tower ranges are drawn under the towers |
| 255 - sound: the play button on the splash screen starts the sound; taps | 255 - sound: the sound button over the splash screen's play button starts the |
| 256 sound, or the play button when sound is switched off (sound.md); taps | |
| 256 before it leave sound off. later pointer and touch events resume audio | 257 before it leave sound off. later pointer and touch events resume audio |
| 257 if the browser has suspended it. switching sound off mutes the output at | 258 if the browser has suspended it. switching sound off mutes the output at |
| 258 once and stops new sounds; the button tap is played after switching, so | 259 once and stops new sounds; the button tap is played after switching, so |
| 259 it is heard when sound goes on. beeps use a square wave. variants are picked with Math.random, not the seeded | 260 it is heard when sound goes on. beeps use a square wave. variants are picked with Math.random, not the seeded |
| 260 generator, so sound does not change a repeated run. a sound that cannot be | 261 generator, so sound does not change a repeated run. a sound that cannot be |
