Home > Tutorials > RPG Maker XP > Simple Dash System
Simple Dash System
Make a new common event and set it to parallel process that is triggered by a switch of your choice.[/b]
Add this code to the common event.
@>Conditional Branch: The A Button is being pressed
@>Set Move Route: Player
:$>Change Speed: 5
@>
else
@>Set Move Route: Player
:$>Change speed: 4
Call the switch at anytime in anywhere in the map.
Simple yet effective
Syntax: This codes checks if the player is pressing the "A" button (Z button in your keyboard). If the player does press the button, the player will begin to dash. In other words the player will have its moving speed rate increase.
This dash system has no limits, which means the player could dash all the time. It should be easy enough to set bars and limits using conditional branches. You could also upgrade this by making a level up dash system, simillar to Dragon Heart.
If anyone asks, I can update this code to add the said features.
Notes: This may not work for rm2k3 only for xp but easy editting should make it work. If you get the concept, it should work for both systems.
|
|
Details
|
|
Tutorial:
|
Simple Dash System |
|
Date Listed:
|
Thu, 03 Jul 2008 01:29:02 -0700 |
|
Author:
|
jens009
|
|
Total Hits:
|
143 |
|
|