curves
Pure maths for the five difficulty curves (steady, steep, stepped, breather, flat). `at(name, wave, strength)` turns a wave number into `count`, `pace`, `speed`, `health` and `damage` multipliers plus a `rest` flag for breather waves; `series` gives a whole curve for graphs and `…
curves
Pure maths for the five difficulty curves (steady, steep, stepped, breather, flat). at(name, wave, strength) turns a wave number into count, pace, speed, health and damage multipliers plus a rest flag for breather waves; series gives a whole curve for graphs and scaleCount rounds a scaled enemy count up. The waves module and the Spawner call it to scale every wave and the trickle; games read it through SK.curve and SK.curveSeries.
Scoped to this part · feeds back into the world's score.