Page 1 of 1

Question: The Perfect Exp/level table for web game?

Posted: Fri Oct 28, 2011 5:36 pm
by UnknownUser
Hey guys, i have been asking my self this question for a while now.
and now I'm asking you what you feel is the best exp/level table.
for example from 1-100 how do you calculate it.
if you don't mind sharing.

Thank you in advance

PS: i admit this time, i didn't check if there was
a post already made, on this subject
so sorry if there is one.. Thanks again!

Re: Question: The Perfect Exp/level table for web game?

Posted: Fri Oct 28, 2011 5:59 pm
by Gustava
Is this for a never ending game or one with occasional resets?


You probably heard of Runescape, has 1-99 levels that go up about ~10% each level (http://runescape.wikia.com/wiki/Experience). An hour for the first ten levels, a month for the last 10 levels.


For the occasional resetting game I would shoot for to where the average Joe would get the majority of the way up the levels before it reset. More hardcore players would finish but wouldn't be to bored (in theory anyways lol) and noobs would get a decent way through (hopefully). Take a bit of tweaking but well worth it.


Helps to make the first few levels fast to level to give some interest/motivation - and slow it down at the very end. Not really a fan of level grinding though, but to each his own 8-)

Image

Re: Question: The Perfect Exp/level table for web game?

Posted: Fri Oct 28, 2011 6:13 pm
by Chris
That's some good points Gustava. I find the best way to write an xp system is to use powers. This gives you a nice curve, making leveling at the start fast and slower towards the end.

Here's a pretty good formula:

Code: Select all

2.5((l+1)^5)

Code: Select all

function levelXp($level)
{
    return round( pow( ($level+1) , 5) * 2.5 );
}
 
result:
1 : 80
2 : 608
3 : 2560
4 : 7813
5 : 19440
6 : 42018
7 : 81920
8 : 147623
9 : 250000
10 : 402628
11 : 622080
12 : 928233
13 : 1344560
14 : 1898438
15 : 2621440
16 : 3549643
17 : 4723920
18 : 6190248
19 : 8000000
20 : 10210253
21 : 12884080
22 : 16090858
23 : 19906560
24 : 24414063
25 : 29703440
26 : 35872268
27 : 43025920
28 : 51277873
29 : 60750000
30 : 71572878
31 : 83886080
32 : 97838483
33 : 113588560
34 : 131304688
35 : 151165440
36 : 173359893
37 : 198087920
38 : 225560498
39 : 256000000
40 : 289640503
41 : 326728080
42 : 367521108
43 : 412290560
44 : 461320313
45 : 514907440
46 : 573362518
47 : 637009920
48 : 706188123
49 : 781250000
50 : 862563128
51 : 950510080
52 : 1045488733
53 : 1147912560
54 : 1258210938
55 : 1376829440
56 : 1504230143
57 : 1640891920
58 : 1787310748
59 : 1944000000
60 : 2111490753
61 : 2290332080
62 : 2481091358
63 : 2684354560
64 : 2900726563
65 : 3130831440
66 : 3375312768
67 : 3634833920
68 : 3910078373
69 : 4201750000
70 : 4510573378
71 : 4837294080
72 : 5182678983
73 : 5547516560
74 : 5932617188
75 : 6338813440
76 : 6766960393
77 : 7217935920
78 : 7692640998
79 : 8192000000
80 : 8716961003
81 : 9268496080
82 : 9847601608
83 : 10455298560
84 : 11092632813
85 : 11760675440
86 : 12460523018
87 : 13193297920
88 : 13960148623
89 : 14762250000
90 : 15600803628
91 : 16477038080
92 : 17392209233
93 : 18347600560
94 : 19344523438
95 : 20384317440
96 : 21468350643
97 : 22598019920
98 : 23774751248
99 : 25000000000
100 : 26275251253

Re: Question: The Perfect Exp/level table for web game?

Posted: Fri Oct 28, 2011 7:35 pm
by Jackolantern
It also totally depends on how you want your game to be played. Games such as World of Warcraft are basically made to get to the level cap very quickly, and WoW stacks content at the end-game for that purpose. It is designed so that every player who plays for a couple of months will get to the level cap.

On the other hand, some games (mostly older games now, since most go with WoW's system) are designed so that you are always leveling until the player has been playing for at least a couple of years. The MUD Achaea is like this, where about 95% of the game's population is not level-capped, and reaching the level cap is a huge achievement. EQ1 used to be kind of like this when it first came out. Games like this stagger content all across the level spectrum, but it is still more top-heavy near the top since players will be at the higher levels for longer.

For a game where you want the players to spend the bulk of their career leveling, Chris' system of using exponents is a good system because it increases the experience requirement heavily. For a game where players are supposed to get to the level cap fairly quickly, just a 10% increase per level would probably be good.

Re: Question: The Perfect Exp/level table for web game?

Posted: Fri Oct 28, 2011 9:19 pm
by hallsofvallhalla
Much like Chris's example
(level*100)*level

1 = 100
2 = 400
3 = 900
4 = 1600
5 = 2500
6 = 3600
7 = 4900
8 = 8400


ect...