Home
News Archives
Staff/Contact
About
Community
Forums
Gaming
Games
Resources
Articles
Articles
Tutorials
Game Reviews
Perfect Running System
      Ever wanted to make a running system in which you tapped the cancel key to open the menu and holding the cancel key enables running? Well this simple tutorial will show you how. I’ve found NO errors with this running system (No accidental permanent speed ups/ slow downs, ect.) and the results are superb. Anyway, on with the tutorial.

Open up the database, make a new common event set to parallel process. The coding for the running system should go like this.

1. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key"- This checks to see if you are hitting cancel
2. Fork condition. If var. "Run Key" is equal to 6
3. Wait .2 Seconds
4. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key" (add ELSE case)
5. Fork condition. If var. Run Key is equal to 6 -These double forks/enter password actually determine if you are tapping or holding escape.
6. Call Common Event: Set to Running Speed* -Increases speed. See note. (You can enter a graphic change here)
7. Cycle
8. Wait 0.0 seconds - Lag killer
9. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key"
10. Fork condition. If var. "Run Key" is equal to 0
11.Call Common Event: Set to walking speed* - Decreases speed. See note. (You can resume graphic here as well)
12. Break Cycle
END CASE
< >
END CYCLE
< >
ELSE CASE:(To fork on step number 5)
13. Call Menu - if key was tapped.
END CASE
< >
END CASE



* "Set to running speed" common event’s coding needs to be another common event (Duh) With the following line of code:

< >Move event: Hero; Spd. Down, Spd. Down, Spd. Down, Spd. Up, Spd. Up, Spd. Up



"Set to walking speed" common event’s coding needs to be another common event with the following line of code:

< >Move event: Hero; Spd. Down, Spd. Down, Spd. Down, Spd. Up, Spd. Up


Those common events to call prevents all problems one would usually get with the standard "Move speed up" and "Move speed down" command. The common events physically SET the hero’s speed to Running or Walking, thus removing most common problems.

That’s it, The perfect running system. Pretty easy, huh? ^_^
-dragonheartman
 RM2K(3) tutorials



07/21/09
03:51 PM

Rate this Article

 3

 0

Comments :: 4

dragonheartman
07/21/09 04:15 PM
I wrote this in 2004. Seems the formatting is a bit off. :(
 
 
07/22/09 05:35 PM
This can't be perfect. MUST FIND AN ERROR! Good tutorial though :D

drgn_lord50

Taylor
07/22/09 07:15 PM
nice.
 
 
07/30/09 01:58 PM
Actually you did find an error now that I think about it... This is the version that doesn't disable phasing mode on the set to run/set to walk common events.

This is the one you broke in Arkor. lol.

dragonheartman
Add a Comment


Please LOGIN or REGISTER to post a comment!