Quote: (&Ramza) as easy as my mom is or is not, I doubt...
blade2k » articles & tutorials

jump to:
Tutorials » Game Creation » RPG Maker 2003

Rm2k3 Run System


Reading Article
Author: MoKkAn
Posted on 10/20/2004
print :: back to list
This tuorial gives you a quik and easy way to make a run system.

M

y event script dictionary is at the bottom of the page it will tell you:
-Variables
-CONDITIONAL (NOT FORK) Branches
-Key Input Proc
---------------
Just pay attanetion to this tutorial and you'll be fine.
---------------
What you NEEEEEEED to know:
---------------
-Variables
-CONDITIONAL branches
-Move Events
-Key Input Proc
---------------
First:
Make three common events
-Run: Parralell Proc.
-Walk: Call
-Run Sys: Call
---------------
Now:
In the Run Sys ce throw in this event script:
----------------
<>Move event: Hero, Move speed up, Move speed up, Move speed down, Move speed down, Move speed down
----------------
After that:
In the Walk ce throw in THIS event script:
----------------
<>Move event: Hero, Move speed up, Move speed up, Move speed down, Move speed down, Move speed down.
----------------
Next:
Now throw this event script in the Run Sys:
----------------
<>Key Input Proc [????:runkey] (make the variable, don't wait until key is pressed, and only the shift key!)
<>Branch if Var: [0001:runkey] is 7
<>Call Event: Run
<>Loop
<>Key Input Proc [????:runkey] (don't wait until key is pressed, and only the shift key!!)
<>Branch if Var [0001:runkey] is 0
<>Call Event: Walk
<>Break Loop
<>
:End
<>
:End Loop
<>
:End
<>
----------------
Finally:
At the starting of your game or something like that make it so some kind of event calls the "Walk" ce.
----------------
Really hope I helped!
----------------
Event Script Dictionary:
Key Input Proc----An event in which you can choose what key you want to press at whatever time you want it to be pressed at.
-# keys
-*,-,/,+,. keys
-Descision key
-Shift key
-Cancel
-Up
-Right
-Down
-Left
The variables of the keys are right by them.
----------------
Conditional Branch----An event in which you can choose a condition that needs to have happened, not happened, or will happen.
-Branch if Var
-Branch if Switch
-Branch if Item
-Branch if Hero Facing
-Money
-Timer 1
-Timer 2
-Event has started using actionkey
-Party is riding......
-BGM played through once
You can also execute your own custom handler.
Example:
:Else Handler
<>Message: You suck!
----------------
Variables----These things are tough and not very nice to play with, but to make a great game you need them! A variable is either a number, letter, or name that holds the amount of data for something. The data is always in numbers. You can:
-Set Equal
-Add
-Subtract
-Multiply
-Divide
-Modulus
You can also refer to another variable's data.
An example of using variables is:
<>Wait: 1.0 Sec
<>Variable Oper: [0001:poop] + , 1
<>Branch if Var: [0001:poop] is 10
<>Variable Oper: [0002:pee] + , 1
<>Variable Oper: [0001:poop] set , 0
-----------------
Thanks for reading!