wobblyhead hg > minor_monsters
comparison config/game.toml @ 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 | 0541f1b5ce7b |
| children | a464bd43b76c |
comparison
equal
deleted
inserted
replaced
| 31:d1ae50439686 | 32:85d23328a215 |
|---|---|
| 188 # Hz, seconds]. | 188 # Hz, seconds]. |
| 189 [sound] | 189 [sound] |
| 190 enabled = true # until the player switches sound on or off in the game | 190 enabled = true # until the player switches sound on or off in the game |
| 191 volume = 0.8 # base for all sounds | 191 volume = 0.8 # base for all sounds |
| 192 beep_wave = "square" | 192 beep_wave = "square" |
| 193 music_fade = 0.4 # seconds the splash screen music takes to fade out. proto | |
| 193 | 194 |
| 194 [sound.event] | 195 [sound.event] |
| 195 t0_attack = { volume = 0.6 } | 196 t0_attack = { volume = 0.6 } |
| 196 t1_shot = { volume = 0.4 } | 197 t1_shot = { volume = 0.4 } |
| 197 t2_shot = { volume = 0.4 } | 198 t2_shot = { volume = 0.4 } |
| 211 tower_sold = { volume = 0.4, beep = [[494, 0.05], [330, 0.08]] } | 212 tower_sold = { volume = 0.4, beep = [[494, 0.05], [330, 0.08]] } |
| 212 placement_refused = { volume = 0.4, beep = [[220, 0.12], [165, 0.18]] } | 213 placement_refused = { volume = 0.4, beep = [[220, 0.12], [165, 0.18]] } |
| 213 button_tap = { volume = 0.3, beep = [[1000, 0.02]] } | 214 button_tap = { volume = 0.3, beep = [[1000, 0.02]] } |
| 214 map_won = { volume = 1.0 } | 215 map_won = { volume = 1.0 } |
| 215 map_lost = { volume = 1.0 } | 216 map_lost = { volume = 1.0 } |
| 217 intro = { volume = 1.0 } # splash screen music, looped. proto | |
| 216 | 218 |
| 217 | 219 |
| 218 # sprite drawing direction (art.md): angle the drawing points to as drawn, | 220 # sprite drawing direction (art.md): angle the drawing points to as drawn, |
| 219 # 0 right, -90 up. sprites not listed do not turn. set by hand, the towers | 221 # 0 right, -90 up. sprites not listed do not turn. set by hand, the towers |
| 220 # checked in temp/preview/towers.png. | 222 # checked in temp/preview/towers.png. |
