Easy Adventure Battle System in RPG Maker 2000
Written by: Richy
Hey, this is my first tutorial and today I’m gonna try to teach you how to make an *easy* adventure battle system.
You will need to know how to use these functions:
Switches
Variables
Enter Password
Creating Battle Animations
Displaying Battle Animations
Move Event
Fash Event
Fork Conditions
...and that is about it!
#1----CREATING AN ANIMATION-----
Now there are several ways to do this but I’m going to teach you the easiest
way.
We are going to do it through the 'Battle Animation' in the RM2K Database.
Download your battle animation or choose one to use or whatever.
STEP 1
Go to the Database in RM2K (press F8).
Select the tab called 'Battle Animation'.
When this is opened create 4 new animations by deleting old ones or
clicking 'Array Size' and making room for more animations.
STEP 2
Name the first one 'attack up.'
Now choose your battle animation you want to use.
Make sure that the axis line is in the *center*.
Now create your animation a little bit *up* from the axis line (green line).
When you are done, make another animation called 'attack right'.
Do the same thing as the last animation but make the animation a bit to the right
of the axis line.
Do this for left attack and down attack also.
STEP3
Now we have done the animations it’s onto the coding.
Go to the 'Common Events' tab on the Database.
Make a new common event called 'attack'.
Double click the event commands and go to the 3rd tab and select the 'Enter Password' command.
When it loads make sure that the only box that is ticked is (5) Decision Key (which is the space bar).
Then click on the '...' button and make a new variable called 'attack key'.
Press ok and ok again until you’re back to the common events.
Next make a switch called 'attacking now' and turn it *on*.
Then make a fork condition statement.
Click the second tab and select 'event' and make it say 'hero up'.
Then in that fork condition make a 'show battle animation',
make it the animation we made for 'attacking up' and make it show on hero
(make sure you have *'wait until done'* ticked).
Do this for every direction by putting the next fork condition in the 'else case' of
the previous fork condition.
Now after you have finished that make a wait 3(0.3) seconds,
then turn *off* the switch 'attacking now'.
Press the ok button in the Database and test play the game.
When you press the space bar your hero should attack by showing the battle animation.
STEP 5
Now to make a enemy.
Make a event on a map.
Choose a sprite (character graphic) for the event.
Make him 'same level as hero' and 'on hero touch'.
Now in the event commands make a command playing a sound effect of getting hurt.
Next command 'flash event'
Fiddle around with the colours till you get red.
Make it happen to the hero.
And make sure 'wait until done' is *unticked*.
Then make a 'move event' make it set to the hero.
*turn 180
*Forward
*Forward
Then another event command 'change hero hp' - 3 (or however much you want).
Test play your game, if you walk into the enemy you should get hurt.
Open the event again (enemy).
Press 'new page'.
Make the new page have the 'switch' box ticked.
Make the switch 'attacking now' in the switch box.
Then in the event commands make a 'show message' saying you 'got me!'.
And then you can make the 'attack condition' anything you want.
Thanks for reading my *FIRST* tutorial.
Any contacts email me or add my msn on : duggy_denton@hotmail.com