wobblyhead hg > minor_monsters
diff 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 |
line wrap: on
line diff
--- a/config/game.toml Tue Oct 20 12:04:42 2026 +0200 +++ b/config/game.toml Tue Oct 20 15:58:17 2026 +0200 @@ -81,6 +81,7 @@ idle_bob = 0.02 hit_radius = 0.4 # share of the monster sprite's smaller side death_puff = 0.4 # seconds the death puff shows +freeze_splash = 0.4 # seconds the t2 freeze splash shows # variation between monsters, so they do not walk in single file @@ -103,7 +104,8 @@ # rounded to whole numbers when both ends are whole. cost is the price of # building (level 1) or of upgrading to that level. attack_time is the time # between attacks, the same at every level (decided). projectile_speed 0 -# means a melee tower: each attack damages every monster in range. +# means a melee tower: each attack damages every monster in range. damage +# may be left out for a tower that only slows. # melee tower. low damage because it often hits multiple monsters. [tower.t0] @@ -123,9 +125,9 @@ projectile = "p1" projectile_speed = 300 -# freeze tower, minimal damage +# freeze tower, no damage. p2 bursts where it lands and slows every +# monster within splash_radius, about two monsters across. [tower.t2] -damage = [1, 5] cost = [20, 40] range = [90, 106] attack_time = 1.2 @@ -133,6 +135,7 @@ projectile_speed = 220 slow = [0.60, 0.30] slow_time = 2.0 +splash_radius = 28 # sniper tower. slightly weaker, slower and more expensive than standard tower # to balance much higher range @@ -268,6 +271,22 @@ map_won = [210, 225] game_lost = [172, 230] game_won = [373, 383] +# the logo and help buttons beside the play button on the splash screen: +# top left corner and height, in pixels of the trimmed splash drawing. proto +splash_logo = [119, 463, 164] +splash_help = [896, 463, 164] +# the email address on the help popup, a tap on it writes a mail: top left +# corner, width and height, in pixels of the drawing. measured, with a margin +help_email = [690, 1505, 665, 100] + + +# web page the logo on the splash screen opens in a new tab. empty: the +# logo does nothing. the address and subject of the mail written from the +# help popup. empty address: the email on the popup does nothing +[links] +logo_url = "https://www.wobblyhead.net" +email = "info@wobblyhead.net" +email_subject = "minor monsters" # debug switches, all off by default
