At 1/12/13 11:16 PM, Trapex wrote:
Myself? I don't know how to do anything of the sort. You also need to give off information like what language you're programming in. Is it ActionScript, C++, C, C#, Python, Ruby, Lua, Java, etc? Please give us some information before you start this kind of topic. Really you should be asking in the collaboration forum rather than the video game forum unless you're asking for a person's personal opinion on a subject matter pertaining to video games.
I think he was asking what style people prefer, not how to actually code it.
OP, if you're going for a system where each enemy gives a set amount of experience points, obviously stronger ones should give more. It's not super complicated. Although, personally I prefer enemies to scale their exp rewards with how strong you are. Like at the start of the game, killing a rat might give you 100exp, but as you get stronger, and they get relatively weaker, they give less exp, and maybe eventually they don't give any at all.
There's also having skills level up individually, which is always good, but it sounds like you've already set it up so that enemies give experience points.
The perfect leveling system, in my opinion, would be to have monsters give experience relative to how strong you are, but have that experience only work towards leveling up your character to increase base stats. Health, stamina, speed, etc. The skills would be seperate from your base level, maybe some would be restricted until you get strong enough to use them, but there wouldn't be any skill point rewards from leveling up. You would level up each individual skill through use of that skill.
For example, say you want to get better with hammer weapons, and there's a skill to paralyze enemies or something. That skill might be locked until you level up enough to get your strength to 30 points or something, and then you can learn it. You would start off with it having a low hit rate or whatever. Then with each successful use of that skill, you get maybe 10exp towards leveling up that specific skill, and when it levels up it becomes stronger. Sort of like how the guns in Ratchet and Clank work.