Sub topic 10
Find Parameters with the Greatest Impact
Prerequisites and purpose
Assume you know basic spreadsheet navigation, arithmetic, percentages, and the game system you are balancing. This chapter uses sensitivity analysis, which measures how much an output changes when an input changes.
A spreadsheet can contain many parameters, but they do not all matter equally. A 5% change to enemy health may barely affect a level. The same change to weapon damage may alter every combat encounter. Sensitivity analysis helps you find these high-impact parameters before you spend time tuning minor values.
Build a one-at-a-time test
Start with a baseline scenario. Record the input values and the outputs you care about, such as time to kill, player survivability, resource gain, or upgrade affordability.
Change one parameter while keeping every other input fixed. This is called a one-at-a-time test. Compare the new output with the baseline output.
For example, suppose a weapon has 100 attack power, a target has 1,000 health, and the weapon attacks twice per second. Test attack power at 90, 100, and 110. Then repeat the test for target health and attack frequency.
Use a relative change when parameters use different units:
=IFERROR((NewValue - BaselineValue) / BaselineValue, 0)Format the result as a percentage. A result of 0.20 means the output increased by 20%. The IFERROR wrapper returns zero when the baseline is zero instead of displaying a spreadsheet error.
Create a sensitivity table
Keep test cases in a separate table. Each row should identify the changed parameter, its test value, and the resulting metric.
| Parameter | Test value | Time to kill | Change from baseline |
|---|---|---|---|
| Attack power | 90 | 6.0 seconds | 20% |
| Attack power | 100 | 5.0 seconds | 0% |
| Attack power | 110 | 4.5 seconds | -10% |
For each parameter, compare a lower and upper test value with the same distance from the baseline. For example, test 90 and 110 around a baseline of 100. This makes comparisons easier.
A parameter is more sensitive when a small input change causes a large output change. Rank parameters by the absolute percentage change in the output. If lowering attack power increases time to kill by 20%, while lowering movement speed changes completion time by 2%, attack power deserves earlier attention.
Use a tornado-style comparison
A tornado chart displays the low and high result for each parameter. Parameters with the widest bars have the greatest effect on the selected output.
Avoid common errors
- Change only one input in each test. Otherwise, you cannot identify the cause of the result.
- Keep the baseline fixed. Recalculate every scenario from the same baseline, not from the previous test.
- Test both directions. A parameter may have a nonlinear effect, so increasing it and decreasing it may produce different-sized changes.
- Check meaningful ranges. A mathematically sensitive parameter may be irrelevant if the tested values are impossible in the actual game.
- Measure several outputs. A change that improves time to kill may make resource income or player survivability unacceptable.
> callout warning > Sensitivity identifies influence, not the correct value. A parameter can have a large impact and still be the wrong place to tune if its current behavior already matches the design target.
Exercise
A 10% increase in enemy health changes time to kill by 8%, while a 10% increase in weapon damage changes it by 2%. Which parameter is more sensitive for time to kill?
Show answer
Enemy health is more sensitive because its tested change produces the larger output change.