Hi I am trying to build a experience/level growth system based on the following plot chart, however I can't think of a proper formula or equation to this chart. Can anyone lend me a hand, please? The x-axis grow significant bigger very fast but the y-axis grow very slow after it reaches 200.
I have tried log
and power
function but can't make it work. What kind of equation should I use to make it conform to this chart?
Math.pow(x - 6, 1.93)
, which works OK for small to medium x. But I am not very satisfied with the result given by the power function because for Y to increase a small number the X has to increase several thousands when X is between 10k and 20k. I just put a cap on X so Y wouldn't go beyond 210 which makes my formula easier to fit my game. \$\endgroup\$