Answer the question
In order to leave comments, you need to log in
Correct implementation of levels?
Hello! Help me please!
A new player enters,
exp = 0 is put into his base;
stepexp = 20;
PS exp - how much experience he gained, step_exp - how much it takes to go to the next level.
That is, we get at the moment that the player has level 0 (exp / step_exp = 0)
So that's my question. How to make the implementation of the issuance of experience, such as how much he needs to go to the next level.
I came across one video, it was just a review. There, the new player is like this
level 1 (0/20)
When a player is level 5, somehow, the player must collect 320 experience to move on to the next one.
5*20=100
how?
How do I correctly issue step_exp?
Thank you!
Answer the question
In order to leave comments, you need to log in
Usually experience is given by some exponential or quadratic function. The specific formula can be understood by looking at the numbers for all levels.
I can assume that in the case you describe, you need 2^level * 10 experience to the next level.
It's all relative and depends on your desired player growth rate. Right there it is necessary to balance everything - both the rate of issuing the exp, and the influence of the level on the complexity - and, as a result, the pace.
The simplest thing is to take something from ready-made systems - pathfinder, special, dnd and so on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question