diff 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
line wrap: on
line diff
--- a/config/game.toml	Tue Oct 20 17:58:10 2026 +0200
+++ b/config/game.toml	Tue Oct 20 18:39:22 2026 +0200
@@ -190,6 +190,7 @@
 enabled = true          # until the player switches sound on or off in the game
 volume = 0.8            # base for all sounds
 beep_wave = "square"
+music_fade = 0.4        # seconds the splash screen music takes to fade out. proto
 
 [sound.event]
 t0_attack = { volume = 0.6 }
@@ -213,6 +214,7 @@
 button_tap = { volume = 0.3, beep = [[1000, 0.02]] }
 map_won = { volume = 1.0 }
 map_lost = { volume = 1.0 }
+intro = { volume = 1.0 }   # splash screen music, looped. proto
 
 
 # sprite drawing direction (art.md): angle the drawing points to as drawn,