Advertisement Jump to content


This topic is now archived and is closed to further replies.


Have any of you made an RPG?

This topic is 5828 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

I''m interested in formulas!!! Do you increase each statistic for a character who levels up exponentially? And what''s your damage formula?

Share this post

Link to post
Share on other sites
Build your own system. There are no hard and fast rules. Isn''t that what makes the design process interesting? This isn''t like implementing a shadow map algorithm in hardware. You have flexibility here.

Share this post

Link to post
Share on other sites
If you really can''t think of something, go find a nice point-based pen and paper RPG and get some ideas from there. Avoid level-based RPGs.
An important thing to keep in mind is that since the game you plan on making will run on a computer, you can use complex formulas. You don''t have to limit youself to comparing random numbers with modifiers. You can do all kinds of weird things, like throwing in exponents, roots, trig functions, the exponential function, etc.


Share this post

Link to post
Share on other sites
I''ve never been programming on an RPG myself, but I know ShadowCore is working on one, or at least is trying to. Try to contact him, maybe he has some good ideas.

Share this post

Link to post
Share on other sites
I think I''ve said this several times before, what you need to do is first analyze what you need. Ask a few questions:

Are the characters all unique in some way?
With level growth, what exactly should change?
Is each item incrementally better or are they all balanced in some way?

For instance, lets say that out item system is somewhat balanced, which means that items found at the start of the game should still be useful by the end. This indicates that the items should have positives and negatives. That means that the Characters wouldn''t be seeing an incremental variable here, which means that the characters then need stuff to increment at level change. If you want the characters to retain uniqueness, that means their basis statistics should remain relatively static, and that the Level has to be factored into your algorythms.

Heres a simple attack formula that follows what I''ve been saying.

d = Level * WeaponAttack * Strength / (constant)

So, lets just say our constant is 32, that means that a stronger character would have strength better than 32 and a magic user would have strength lower than 32. To analyze this function, we have two variables and a constant. Level is incremental, with a derivative of 1 (since you gain one level at a time), and WeaponAttack has no real controlling factor. Heres a damage table then with an Attack of 4 and a Strength of 32.

Level : Damage
1 : 4
2 : 8
3 : 12
4 : 16
5 : 20
10 : 40
15 : 60
20 : 80
25 : 100

For fun, you might want to randomize damage a bit, which you could have d = d + random(0, d/8).

I hope that helps a bit.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!