Gw Temp
Menu
Tutorial - 'Making a Roc's Feather Item in Rm2k/3' by Flyne
An item about RPGMaker 2000 posted on
Blurb
A nice tutorial about how to make a Roc's Feather, which is an item allowing you to jump.
Body
If you don't know, the Roc's Feather is from LOZ and it is an item that allows you to jump.
Ok, so this is for either rm2k or rm2k3. There are different methods for each. Obviously, the rm2k3 one is better.
Required stuffs (rm2k):
1 Item
3 common events
1 switch
5 Variables
Required stuffs (rm2k3):
1 Item
1 Variable
1 common event
-------------------------------------------------Rm2k Method-------------------------------------------------
Step 1:Setup. Make an Item that activates a switch. We will call the Item Roc's Feather and the Switch Jump. Make a common event. Call it Jump. Make it
parallel Process, with the start condition of switch Jump being on. Make another common event. Call it Jump2. Make it parallel Process, with the start
condition of switch Jump being on. Make yet another common event. Call it No jump test. Make it parallel Process, with the start condition of switch Jump
being on.
Step 2:Coding. In the first common event, make the code look like this:
Move event: Hero, Increase move speed, Start Jump, step forward, step forward, end jump, decrease move speed --this is the actual jump, plus a confirmation
that it worked.
Move all
Wait 0.2 seconds -- this slows it down a bit
In the second common event, make the code look like this:
Menu call: disallow
Enter Password: [Var Name: Jump] -- make this only for esc. key
Fork option: Var Jump = 6 -- this will make it so that if you hit escape, you will stop jumping.
wait 0.1 seconds
Menu call: allow
Change switch: [jump] off
End case
In the third common event, make it look like this
Set variable:Hero x to hero X coordinate
Set variable:hero y to hero Y coordinate
Wait 0.3 seconds
Set variable:Hero x 2 to hero X coordinate
Set variable:hero y 2 to hero Y coordinate
Fork Option:Hero x = Hero x 2
Fork option:Hero y = hero y 2
Menu call: allow
Change switch: [Jump] off
end case
end case
That should be all for this method.
-------------------------------------------------Rm2k3 Method------------------------------------------------
Step 1:Setup. Make an item called Roc's Feather. It should be equipable as an accessory. Make a common event. Make it parallel process with no start
condition.
Step 2:Coding. Make the code for the common event look like this:
Branch If Hero Roc's feather equipped -- replace hero with who ever you want
Key input processing [0000:Jump key hit] -- make this for shift and make the variable whatever you want
Branch If Var [0000:Jump key hit] is 7
Move event: Hero, Increase Move Speed, Begin Jump, Move Forward, Move Forward, End Jump, Decrease Move speed
End
End
That's all! It is really simple. You can make the Roc's Feather a switch if you like, then just make the common event have the start condition of that switch
and delete the "Branch If Hero Roc's feather equipped" fork, but not the stuff inside it.
I really don't care if you leave me off your credits, this tut is simple and you can call it your own or whatever.