Experience Tutorial
 | submitted by fireflame on Wed Jan 20, 2010 3:23 am A four step tutorial. |
I decided to make a simple tutorial on how to make the main character has experience. Well, here goes.
First, you'll need to know how to use:
-Variables
cause thats what this is gonna be based on.
Step1 - Go into common events and make a parallel process. Call it 'LevelUP' or something of the like.
Step2 - Now we're gonna make a few variables. These are what you will use:
v0001: Level
v0002: CurrentExp
v0003: LevelUPExp
v0004: ExpGain
Step3 - Now what you gonna wanna do is set all the variables at a certain number. If you want you main character to start of at level1, set [v0001] at '1'.
Leave [v0002] alone, since that has to stay on '0'.
You may want to set [v0003] at something between 30 and 50, whatever suits however much exp you gain through battle.
[v0004] you'll wanna set at 1 or 2, preferably 2.
Step3 - now that all our variables are set, we can start putting them to use.
Lets go into the parallel process we made that was called LevelUP. Make a conditional branch, and make sure its on page 1. Make it so (if [v0002] is equal to or greater).
Final Step - Finally, we're gonna use all the variables we just used. Go into variable operations, and make [v0001] + 1. Now multiply [v0003] by 2, then add [v0004] onto it. Multiply [v0004] by 2, and if you really want to randomize it, plus it by 1.
And you're all done with the Common Event. All you have to do is increase CurrentExp ([v0002]) by however much experience you want the main character to gain.
Now heres the code if you don't know how to read:
Spoiler (Click to Reveal)
<>Branch if Var [0002:CurrentExp] is V[0003] or more
<>Variable Oper: [0001:Level] +, 1
<>Variable Oper: [0003:LevelUPExp] *, 2
<>Variable Oper: [0003:LevelUPExp] +, Var [0004]'s Value
<>Variable Oper: [0004:ExpGain] *, 2
<>Variable Oper: [0004:ExpGain] +, 1
<>
: End
<>
DONE