diff config/game.toml @ 8:2c4fed8baed9

art update, persistent sound setting, tower selling as double action
author ark
date 2026-10-19 13:37 +0200
parents 910b26feca76
children 53f015966118
line wrap: on
line diff
--- a/config/game.toml	Mon Oct 19 11:50:24 2026 +0200
+++ b/config/game.toml	Mon Oct 19 13:37:52 2026 +0200
@@ -79,6 +79,7 @@
 stretch = 0.04      # guess, in the air
 idle_bob = 0.02     # guess
 hit_radius = 0.4    # proto, share of the monster sprite's smaller side
+death_puff = 0.4    # guess, seconds the death puff shows
 
 
 [route_preference]
@@ -162,7 +163,7 @@
 
 
 [controls]
-speeds = [1, 2]         # guess
+speeds = [1, 2, 4]      # decided
 
 
 # sound events (doc/sound.md). the recordings come from art/sounds/, named
@@ -171,7 +172,7 @@
 # the placeholder for an event without a recording, as notes of [frequency in
 # Hz, seconds].
 [sound]
-enabled = true          # proto, the game has no sound switch yet
+enabled = true          # proto, until the player switches sound on or off in the game
 volume = 0.8            # guess, all sounds
 beep_wave = "square"    # proto
 
@@ -231,6 +232,15 @@
 t1_4 = [0.35, 0.5]
 t1_5 = [0.27, 0.5]
 
+# where the button of each screen sits on the screen's drawing: the top left
+# corner of the separate button image, in pixels of the trimmed drawing.
+# proto, found by matching the button image against the drawing.
+[art.screen]
+splash = [479, 463]
+map_won = [210, 225]
+game_lost = [172, 230]
+game_won = [373, 383]
+
 
 # debug switches, all off by default
 [debug]
@@ -243,7 +253,7 @@
 show_grid = false
 show_ranges = false
 show_hit_areas = false
-extra_speeds = []       # added to the game speeds, for example [4, 8]
+extra_speeds = []       # added to the game speeds, for example [8]
 show_stats = false      # frame time and entity counts
 seed = 0                # random seed, 0 picks a new one each run