Sign in to follow this  

EP-Curve

This topic is 3664 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Folks. Please don't flame me, but my Skill in math is not very good :D. I need to implement an EP-Curve. But I want Code that can be reused, so I want to do it smart.. or not so smart, lets see. I have thought of the following: EP = overall EP since level 1 EP_OFFSET = EP needed per level * level. Example: EP_OFFSET = 100 Level 1 -> 2 = 100 EP Level 2 -> 3 = 200 EP Would you do it like this? There is much to calculate everytime the player receives EP. Or would you simply pass a pointer to a big Array to the Method/Class, holding all Values? e.g.: EP_CURVE [] = { 100, 200, 300, 400 }; How are prof. Games doing this? Thanks for assisting me :). Greets

Share this post


Link to post
Share on other sites
Professional games probably handle this in all sorts of ways. It is a trivial problem from a technical standpoint, so trivial that there is almost nothing to reuse (might be a nightmare for game design though). If the values were read into an array from a file then data entry tools and parsing code could be reused.

To use your formulaic method, just track how much EP the player has gotten since their last level, or how much EP they need until their next level. A lot of rpgs tell the player how far they are from the next level every time they get experience.

Many games scale the points you get from performing tasks as the level increases, so that performing easy tasks will result in little or no experience points. If that is done, then the curve should be designed with that in mind.

Share this post


Link to post
Share on other sites

This topic is 3664 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this