Jump to content

Recommended Posts

Posted

Hi everyone, I would like help and ideas to create a formula to increase levels, I am creating the game Elder Tales and I need to find a good formula to raise the level of players, remembering that my game is in the style MMORPG 2D, same used in the intersect but in unity engine.

 

The formulas of HP, MP etc are already defined, I need only a good formula of level up, who can contribute I am grateful.

 

I will study every suggestion.

 

I was thinking of something like that.

 

lfUVpeINTbeyq6jgWVl6lA.png

 

But I would make some adjustments to the initial xp and max level.

 

Thanks!.

Posted

Depends on your games level cap and how you want leveling progression to work. There isn't one universal formula that'll work on every game. 

Posted

Well, first. You should cast to int only at the end for more accuracy. Let x and y as float and replace the return to cast the whole return instead of only one part. And it is more optimized. 

 

This seems me correct. 

There's not better solution than factorial.  

 

I will think about it tomorrow to make this better (maybe). 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...