Difficulty Scaling
Last updated
Last updated
Difficulty comes in the form of movement speed only in this game. I could have introduced other methods of increasing difficulty such as a narrower margin for error, different types of or dynamic obstacles, but I decided to keep it simple for this project.
Movement speed scales up exponentially against level, which means that with each level piece spawned, movement speed will increase.
An exponential scale is chosen as it increases the movement speed by a large amount in the beginning, which takes the player out of the "early-game" warm-up fairly quickly, but gives sufficient time for the player to get used to the game. Another benefit to it was that the scale plateaus as it reaches an asymptote, which means the game cannot get to a point of impossible or unplayable.
The maximum playable movement speed was determined through prototyping and normalized to 1.
I set the starting speed at 0.6, which was a comfortable but slow pace to the game, and as seen in the graph above, it moved rapidly upwards towards the asymptote of 1 as the number of levels increases.
The equation used was: