Main Menu
  • Welcome to The RPG Maker Resource Kit.

Easy Dash Tutorial

Started by Sthrattoff, June 24, 2008, 02:53:02 PM

0 Members and 1 Guest are viewing this topic.

Sthrattoff

Hi...
I want to share my ten-minutes experiment results with you...

First, make a common event, call it anything. Make it parallel (the switch is up to you).
Make a conditional branch. Switch to tab 4 and activate the Script. Fill it with:
Input.press?(Input::SHIFT)
don't forget the else case.

Now, for the if case, make a move event. Player: change speed: 5.
For the else case: Player: change speed:4.

Sorry for the bad grammar and writing, but if you understand it, you'll find it useful.
Thx!
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

Kidfox70

What if you want it to be able to turn off and on? Like lets say i want it to be an item that my Hero gets for some quest or something, like dashing shoes. If i want to use them, go to the menu and equip them, then when i'm playing press Shift. if i want them to be off, go to the menu and unequip them. how would i be able to do that?
I don't say bless you when people sneeze, cause i'm not God. Blessing people is his job. Lolo?

JFloyd

Quote from: Kidfox70 on August 07, 2009, 12:03:52 PM
What if you want it to be able to turn off and on? Like lets say i want it to be an item that my Hero gets for some quest or something, like dashing shoes. If i want to use them, go to the menu and equip them, then when i'm playing press Shift. if i want them to be off, go to the menu and unequip them. how would i be able to do that?
You'd link the item to a common event wouldn't you?
That or make a conditional inside a conditional.

Grafikal

You do realize that conditional branches can already check what button you're pressing without having to use a script right? ...

Also, we have like 8934820342093 of these tutorials lol. I would hope by now everyone that has or has not ever touched RMXP would know how to make a dash event system in their sleep. lol

Sthrattoff

well, with script you are free to decide which button to use for activate the event right?
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

Mjustin

It's the same with the conditional branch command. Look in the command's window.