i need an equation or logarithm for my calcutor to input into my game. it is for experience needed based on level does anybody know a good one that would work so that there can be unlimited level gain in my game.
Elaborate, please.
like when you grow a level it executes the equation so that you get experience instead of me having to store a number for each level grown there for grow to an unlimited level.
I'm guessing you mean RPG exp. from defeating an enemy?

X = your level
Y = your opponents level

Exp to level up = (X^3-X^2)/2
Exp gained from battle = Y^2-(X^2/2)

I think the way that works out (checked years ago, might be different now) is that you need one more battle with an equal level opponent after every level.
Oh, so you just want logarithmic growth?

You could go with ln(xp) or log(xp) or add 1/xp (the "smallest" divergent series possible). In terms of growth, those are the slowest growing equations.
thanx radical pi just one thing the monsters are not going to have levels so do you know how i can incorporate something to fix that problem
Um...Give them temporary levels?
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum