comparison 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
comparison
equal deleted inserted replaced
7:4fd2da999ba4 8:2c4fed8baed9
77 hop_height = 5 # guess 77 hop_height = 5 # guess
78 squash = 0.06 # guess, on landing, wider and flatter 78 squash = 0.06 # guess, on landing, wider and flatter
79 stretch = 0.04 # guess, in the air 79 stretch = 0.04 # guess, in the air
80 idle_bob = 0.02 # guess 80 idle_bob = 0.02 # guess
81 hit_radius = 0.4 # proto, share of the monster sprite's smaller side 81 hit_radius = 0.4 # proto, share of the monster sprite's smaller side
82 death_puff = 0.4 # guess, seconds the death puff shows
82 83
83 84
84 [route_preference] 85 [route_preference]
85 reference_speed = 40 # guess 86 reference_speed = 40 # guess
86 bias = 3 # guess 87 bias = 3 # guess
160 flight_time = 0.7 # guess 161 flight_time = 0.7 # guess
161 max_sprites = 8 # guess 162 max_sprites = 8 # guess
162 163
163 164
164 [controls] 165 [controls]
165 speeds = [1, 2] # guess 166 speeds = [1, 2, 4] # decided
166 167
167 168
168 # sound events (doc/sound.md). the recordings come from art/sounds/, named 169 # sound events (doc/sound.md). the recordings come from art/sounds/, named
169 # after the event. per event: volume is a share of full volume. min_interval 170 # after the event. per event: volume is a share of full volume. min_interval
170 # is the least time between two plays; plays in between are dropped. beep is 171 # is the least time between two plays; plays in between are dropped. beep is
171 # the placeholder for an event without a recording, as notes of [frequency in 172 # the placeholder for an event without a recording, as notes of [frequency in
172 # Hz, seconds]. 173 # Hz, seconds].
173 [sound] 174 [sound]
174 enabled = true # proto, the game has no sound switch yet 175 enabled = true # proto, until the player switches sound on or off in the game
175 volume = 0.8 # guess, all sounds 176 volume = 0.8 # guess, all sounds
176 beep_wave = "square" # proto 177 beep_wave = "square" # proto
177 178
178 [sound.event] 179 [sound.event]
179 t0_attack = { volume = 0.6 } # guess 180 t0_attack = { volume = 0.6 } # guess
229 t1_2 = [0.30, 0.5] 230 t1_2 = [0.30, 0.5]
230 t1_3 = [0.33, 0.5] 231 t1_3 = [0.33, 0.5]
231 t1_4 = [0.35, 0.5] 232 t1_4 = [0.35, 0.5]
232 t1_5 = [0.27, 0.5] 233 t1_5 = [0.27, 0.5]
233 234
235 # where the button of each screen sits on the screen's drawing: the top left
236 # corner of the separate button image, in pixels of the trimmed drawing.
237 # proto, found by matching the button image against the drawing.
238 [art.screen]
239 splash = [479, 463]
240 map_won = [210, 225]
241 game_lost = [172, 230]
242 game_won = [373, 383]
243
234 244
235 # debug switches, all off by default 245 # debug switches, all off by default
236 [debug] 246 [debug]
237 start_coins = -1 # coins at the start of a map, -1 uses the map's value 247 start_coins = -1 # coins at the start of a map, -1 uses the map's value
238 unlimited_coins = false 248 unlimited_coins = false
241 no_heart_loss = false 251 no_heart_loss = false
242 show_routes = false 252 show_routes = false
243 show_grid = false 253 show_grid = false
244 show_ranges = false 254 show_ranges = false
245 show_hit_areas = false 255 show_hit_areas = false
246 extra_speeds = [] # added to the game speeds, for example [4, 8] 256 extra_speeds = [] # added to the game speeds, for example [8]
247 show_stats = false # frame time and entity counts 257 show_stats = false # frame time and entity counts
248 seed = 0 # random seed, 0 picks a new one each run 258 seed = 0 # random seed, 0 picks a new one each run
249 259
250 260
251 # maps. waves: a group starts after the previous group has finished spawning, 261 # maps. waves: a group starts after the previous group has finished spawning,