Algorithm Breakdown
Let's breakdown the algorithm options
Last updated
Let's breakdown the algorithm options
Last updated
For custom algorithms go to the page below
Formula: Level = 0.1 * sqrt(XP)
Growth: Slower at first, accelerating as XP increases.
This is a square root function, so the level grows slowly at low XP but accelerates as XP increases.
Formula: Level = XP / 100
Growth: Linear growth.
Level increase is consistent every 100 XP equals one level.
Formula: Level = log2(XP + 1)
Growth: Rapid growth at lower XP, slowing as XP increases.
This logarithmic growth increases quickly at lower XP values, but levels off as XP grows.
Formula: Level = XP * (0.8 + Math.random() * 0.4)
Growth: Random growth.
The level is determined randomly within a range, adding a bit of unpredictability to the level-up process.
Formula: Level = log2(XP + 1)
Growth: Exponential growth.
This is similar to the exponential algorithm but with a slightly different formula. Growth starts rapid and slows down with increasing XP.
Formula: Level = 1 / (1 + Math.exp(-XP / 1000))
Growth: S-shaped curve (logistic growth).
Initially grows slowly, then accelerates, and finally levels off as XP increases.
Formula: Level = XP / 1000
Growth: Stepwise growth.
The level increases gradually but only in "steps." For every 1000 XP, the level increases by one.
Formula: Level = 1 / (XP + 1)
Growth: Inverse growth.
As XP increases, the level decreases. This function results in the player having diminishing returns in terms of level-up speed.
Formula:
Level = XP / 100
(if XP < 1000)
Level = (XP - 1000) / 200 + 10
(if 1000 <= XP < 5000)
Level = (XP - 5000) / 500 + 30
(if XP >= 5000)
Growth: Tiered Growth
This algorithm has different growth rates in different XP ranges: faster growth at first, followed by slower growth.
Levels from 0 to 999 XP: Increase by 1 for every 100 XP.
Levels from 1000 to 4999 XP: Increase by 1 for every 200 XP, starting at level 10.
Levels from 5000 XP onwards: Increase by 1 for every 500 XP, starting at level 30.
Formula: Level = 0.2 * XP^0.8
Growth: Polynomial growth.
Growth starts slow, but as XP increases, it accelerates more quickly than linear growth.
Formula: Level = log(XP + 1)
Growth: Logarithmic growth.
This type of growth increases quickly at first and then gradually levels off as XP increases.
Formula: Level = sqrt(XP)
Growth: Square root growth.
Initially, the growth is slow but increases progressively as XP increases.
Formula: Level = cbrt(XP)
Growth: Cubic root growth.
Growth is even more gradual than square root growth, resulting in a very slow level-up at higher XP.
Formula: Uses the Fibonacci sequence where F(n) = F(n-1) + F(n-2)
.
Growth: Exponential growth (Fibonacci progression).
The Fibonacci sequence grows exponentially, but the rate of growth accelerates as the sequence progresses.
Formula: Level = r^XP
(with a default ratio of r = 1.2
)
Growth: Geometric growth.
Level grows exponentially based on a fixed ratio. The ratio can be adjusted to control how fast levels increase.
Formula: Level = L / (1 + Math.exp(-k * (XP - x0)))
(default values for L = 100
, k = 0.01
, x0 = 5000
)
Growth: Logistic growth (S-curve).
Initially, growth is slow, accelerates as XP reaches a certain point, and then levels off as XP continues to increase.
Formula: Level = XP^p
(with a default power of p = 1.5
)
Growth: Power law growth.
This type of growth is steep initially and becomes more gradual as XP increases.
Formula: Level = sin(XP) * 100
Growth: Sinusoidal oscillation.
The level fluctuates as XP increases, following the sinusoidal wave pattern. This gives a cyclical level-up process.
Formula: Level = factorial(XP) / 1000000
Growth: Factorial growth.
Factorial growth is extremely rapid, making it suitable for modeling extremely steep and fast level increases.
Formula: Level = sum(1 / (i + 1)) for i from 0 to XP-1
Growth: Harmonic growth.
This type of growth increases more slowly as XP increases, with diminishing returns for each additional XP point.
Formula:
Level = XP / 100
(if XP < 1000)
Level = (XP - 1000) / 200 + 10
(if 1000 <= XP < 5000)
Level = (XP - 5000) / 500 + 20
(if XP >= 5000)
Growth: Piecewise linear growth.
Similar to the tiered algorithm, but with different ranges for XP.
Formula: Level = XP / (XP + 100)
Growth: Decay growth.
The level approaches a maximum value as XP increases, but it becomes harder to level up as XP grows larger.
Formula: Level = log(XP + 1) / log(base)
Growth: Logarithmic growth with customizable base.
This function uses a logarithmic curve but allows for the base to be changed to control the rate of growth.
Formula: Level = min(log2(XP + 1), maxLevel)
Growth: Exponential growth with a cap.
Growth is exponential, but the level is capped at maxLevel
to avoid infinite growth.
Formula: Level = min(L / (1 + Math.exp(-k * (XP - x0))), maxLevel)
Growth: Logistic growth with a cap.
Similar to the logistic growth, but with a cap on the maximum level.
Formula: Level = min(XP^p, maxLevel)
Growth: Power law growth with a cap.
Growth is power-law-based, but the level is capped at maxLevel
to prevent infinite growth.
Formula: Fibonacci sequence with a cap on maximum level (maxLevel
).
Growth: Fibonacci growth with a cap.
The Fibonacci sequence grows exponentially, but it is capped at maxLevel
.
Formula:
Level = XP / 100
(if XP < 1000)
Level = (XP - 1000) / 200 + 10
(if 1000 <= XP < 5000)
Level = (XP - 5000) / 500 + 20
(if XP >= 5000)
Growth: Piecewise linear growth with a cap.
Growth happens in steps, but there is a maximum level reached after certain thresholds.