comparison doc/balance.md @ 14:7fda634d15ad

adjustments to wave logic, tower pivot points
author ark
date 2026-10-19 22:50 +0200
parents 8df95050fc8b
children c1c7e4f54bf6
comparison
equal deleted inserted replaced
13:8df95050fc8b 14:7fda634d15ad
100 to the longest route and its straightness relative to the straightest route 100 to the longest route and its straightness relative to the straightest route
101 - each monster gets a speed factor: its speed minus the reference speed, 101 - each monster gets a speed factor: its speed minus the reference speed,
102 divided by the reference speed, limited to -1..1 102 divided by the reference speed, limited to -1..1
103 - route weight = 1 + bias * speed factor * (2 * route value - 1), at least 0.1 103 - route weight = 1 + bias * speed factor * (2 * route value - 1), at least 0.1
104 - a monster at the reference speed sees all routes as equally likely 104 - a monster at the reference speed sees all routes as equally likely
105 - a boss always takes the shortest route (decided). a route with a fixed
106 weight of 0 is left out
105 107
106 | parameter | value | source | 108 | parameter | value | source |
107 |-----------------|-------|--------| 109 |-----------------|-------|--------|
108 | reference speed | 40 | guess | 110 | reference speed | 40 | guess |
109 | bias | 3 | guess | 111 | bias | 3 | guess |
250 | parameter | value | source | 252 | parameter | value | source |
251 |------------------------------------|---------------------|--------| 253 |------------------------------------|---------------------|--------|
252 | waves per map | 6, 8, 10, 12 | guess | 254 | waves per map | 6, 8, 10, 12 | guess |
253 | break before the first wave | 40 s | guess | 255 | break before the first wave | 40 s | guess |
254 | break between waves | 25 s | guess ("longer", decided) | 256 | break between waves | 25 s | guess ("longer", decided) |
255 | time between spawns within a group | 1.0 s, set per group | guess | 257 | time between spawns | 1.0, 1.0, 0.8, 0.7 s by map | guess |
256 | early start bonus, coins per second left | 0.05, 0.1, 0.2, 0.3 by map | guess (starting coins / 200) | 258 | early start bonus, coins per second left | 0.05, 0.1, 0.2, 0.3 by map | guess (starting coins / 200) |
257 259
258 the bonus is rounded down. if every break is skipped at once, the bonus adds 260 the bonus is rounded down. if every break is skipped at once, the bonus adds
259 about 6, 17, 45 and 82 coins per map (derived). 261 about 6, 17, 45 and 82 coins per map (derived).
260 262
261 suggested shape of a map's waves (guess): the coin value of wave n grows in 263 suggested shape of a map's waves (guess): the coin value of wave n grows in
262 proportion to n, so the last wave is the largest. the boss comes at the end of 264 proportion to n, so the last wave is the largest. the boss comes in the last
263 the last wave. later waves mix monster levels; early waves are mostly m0 and 265 wave and spawns first. later waves mix monster levels; early waves are mostly
264 m1. 266 m0 and m1.
265 267
266 268
267 hearts 269 hearts
268 ------ 270 ------
269 271