EP-Curve

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

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 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.

1. 1
2. 2
Rutin
21
3. 3
A4L
15
4. 4
5. 5
khawk
14

• 13
• 26
• 10
• 11
• 44
• Forum Statistics

• Total Topics
633741
• Total Posts
3013624
×