comparison config/game.toml @ 24:3f2811aebb3d 0.9.0

splash screen buttons, help button, info screen
author ark
date 2026-10-20 15:58 +0200
parents 2f555a54c332
children 75deda08db90
comparison
equal deleted inserted replaced
23:2f555a54c332 24:3f2811aebb3d
79 squash = 0.06 # on landing, wider and flatter 79 squash = 0.06 # on landing, wider and flatter
80 stretch = 0.04 # in the air 80 stretch = 0.04 # in the air
81 idle_bob = 0.02 81 idle_bob = 0.02
82 hit_radius = 0.4 # share of the monster sprite's smaller side 82 hit_radius = 0.4 # share of the monster sprite's smaller side
83 death_puff = 0.4 # seconds the death puff shows 83 death_puff = 0.4 # seconds the death puff shows
84 freeze_splash = 0.4 # seconds the t2 freeze splash shows
84 85
85 86
86 # variation between monsters, so they do not walk in single file 87 # variation between monsters, so they do not walk in single file
87 [movement] 88 [movement]
88 speed_variation = 0.05 # each monster's speed differs by up to this share either way 89 speed_variation = 0.05 # each monster's speed differs by up to this share either way
101 # towers have 5 levels. damage, range, slow and cost give the values at 102 # towers have 5 levels. damage, range, slow and cost give the values at
102 # level 1 and level 5; the build fills in the levels between in equal steps, 103 # level 1 and level 5; the build fills in the levels between in equal steps,
103 # rounded to whole numbers when both ends are whole. cost is the price of 104 # rounded to whole numbers when both ends are whole. cost is the price of
104 # building (level 1) or of upgrading to that level. attack_time is the time 105 # building (level 1) or of upgrading to that level. attack_time is the time
105 # between attacks, the same at every level (decided). projectile_speed 0 106 # between attacks, the same at every level (decided). projectile_speed 0
106 # means a melee tower: each attack damages every monster in range. 107 # means a melee tower: each attack damages every monster in range. damage
108 # may be left out for a tower that only slows.
107 109
108 # melee tower. low damage because it often hits multiple monsters. 110 # melee tower. low damage because it often hits multiple monsters.
109 [tower.t0] 111 [tower.t0]
110 damage = [2, 6] 112 damage = [2, 6]
111 cost = [5, 25] 113 cost = [5, 25]
121 range = [100, 116] 123 range = [100, 116]
122 attack_time = 0.7 124 attack_time = 0.7
123 projectile = "p1" 125 projectile = "p1"
124 projectile_speed = 300 126 projectile_speed = 300
125 127
126 # freeze tower, minimal damage 128 # freeze tower, no damage. p2 bursts where it lands and slows every
129 # monster within splash_radius, about two monsters across.
127 [tower.t2] 130 [tower.t2]
128 damage = [1, 5]
129 cost = [20, 40] 131 cost = [20, 40]
130 range = [90, 106] 132 range = [90, 106]
131 attack_time = 1.2 133 attack_time = 1.2
132 projectile = "p2" 134 projectile = "p2"
133 projectile_speed = 220 135 projectile_speed = 220
134 slow = [0.60, 0.30] 136 slow = [0.60, 0.30]
135 slow_time = 2.0 137 slow_time = 2.0
138 splash_radius = 28
136 139
137 # sniper tower. slightly weaker, slower and more expensive than standard tower 140 # sniper tower. slightly weaker, slower and more expensive than standard tower
138 # to balance much higher range 141 # to balance much higher range
139 [tower.t3] 142 [tower.t3]
140 damage = [2, 13] 143 damage = [2, 13]
266 [art.screen] 269 [art.screen]
267 splash = [479, 463] 270 splash = [479, 463]
268 map_won = [210, 225] 271 map_won = [210, 225]
269 game_lost = [172, 230] 272 game_lost = [172, 230]
270 game_won = [373, 383] 273 game_won = [373, 383]
274 # the logo and help buttons beside the play button on the splash screen:
275 # top left corner and height, in pixels of the trimmed splash drawing. proto
276 splash_logo = [119, 463, 164]
277 splash_help = [896, 463, 164]
278 # the email address on the help popup, a tap on it writes a mail: top left
279 # corner, width and height, in pixels of the drawing. measured, with a margin
280 help_email = [690, 1505, 665, 100]
281
282
283 # web page the logo on the splash screen opens in a new tab. empty: the
284 # logo does nothing. the address and subject of the mail written from the
285 # help popup. empty address: the email on the popup does nothing
286 [links]
287 logo_url = "https://www.wobblyhead.net"
288 email = "info@wobblyhead.net"
289 email_subject = "minor monsters"
271 290
272 291
273 # debug switches, all off by default 292 # debug switches, all off by default
274 [debug] 293 [debug]
275 start_coins = -1 # coins at the start of a map, -1 uses the map's value 294 start_coins = -1 # coins at the start of a map, -1 uses the map's value