Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

My simplest Dash Effect(RGSS Free)

I thought that nobody had made this before, so I'm planning to show it to everyone how to make player dash without using any RGSS script.

BTW, I hope this helps otherwise don't bother about reading the rest.

First, create a common event labeled "Dash" or whatever you want to label it.
Set a switch with label "Dash" or anything then set the trigger to "Parallel Process". (In case your game is full with Parallel process event, I suggest you avoid using this one to prevent lag)

Then make commands that looks like the one below. (I dunno how to hide the content, so I'm revealing it to anyone :p)

@>Conditional branch : The [Any button assigned to RMXP] button is pressed
@> Set move route: Player
: : Change Speed: 5 (or 6 for super dash)
@>
: Branch End
:Else
@> Set move route: Player
: : Change Speed: 4 (Default Speed)
@>
: Branch End
@>

As long as the switch that you assigned to this common event is turned ON, your player will dash as long as the particular button assigned is being pressed. I suggest that you avoid using the 'C' or the 'X' button for this Dash effect.

Any question? I hope this one really really helping :D
in case that you need to prevent the player from dashing on the World Map, you can ask me. I'll post another one here

(Sorry if I accidentally posted twice here. I got prob with the connetion)
 
Is there a way so that the player can't just keep on dashing, like a 10 secound limit, and then they have to wait another 10 secounds to be able to again use it for another 10 secounds?
 

Rare

Member

I'm sure that can be added with wait commands.

Remember 20 frames is roughly around 1 second, depending on your CPU speed.
 
When i add the conditional branch there is an else between the conditional branch and the branch end and how do i turn on the specified swithch
 

Zeriab

Sponsor

If you place nothing in the else branch the effect should be the same.

I usually don't create else branches if I have nothing to put into them.
You can choose not to create the else branch by unchecking Set handling when conditions do not apply in the conditional branch dialog.

You can turn on the specified switch in another event. You can use F9 when you test play from the editor, this is only really for testing purposes since players of the game won't be able to turn on the switch this way.
 
Thanks for the changes to my event Zeriab :D
At first I thought nobody cares about this one, but it finally had some posts here.

According to the events I made above, it can be modified to disable dash on the world map as well as enabling/disabling save :)
 
Help

why mine didn't work properly?

i did all the same but my version used "Z button being pressed"
but it didn't work
it worked by pressing D..

So like input Z -> D
WHY ?
 
The Z button is the D button on the keyboard... here's all the keys:

A: Shift or Z
B: Esc, Num 0, or X
C: Space, Enter, or C
X: A
Y: S
Z: D
L: Q
R: W

Enterbrain laid it out so it was like on a video game controller. Press F1 in-game to change the key values to something you want. So if you want Z on the keyboard to be pressed, change the button required to "A".
 
I wonder if there's a way to detect if the character equipped dash boots.

Changing the waking speed from 3 to 4 and dashing becomes a 5.
 
XP Learner":1x63rtau said:
I wonder if there's a way to detect if the character equipped dash boots.

Changing the waking speed from 3 to 4 and dashing becomes a 5.
Code:
@>Conditional branch :  [Hero] is [Dash Boots] equipped
    @> Set move route: Player
         :                    : Change Speed: 5
    @>
 :Else
    @> Set move route: Player
         :                    : Change Speed: 4 
    @>
   : Branch End
@>
Is that what you wanted?
 
Yes i do problem is when i try this. If you unequip the boots the default speed does not revert to the original speed.

For example i set the walking speed to 3 and the dashing speed to 4.

But when you equp the dash boots. The speed bcomes 5 and walking speed is 4.
 
Try adding another common event that's...
Code:
@>Conditional branch :  [Thomas] is [Dash Boots] equipped

 :Else
    @> Set move route: Player
         :                    : Change Speed: 4 
    @>
   : Branch End
@>
Parallel^^
 
I have a probelm here.
I create the common event but, It dosent seem like like the charcter is dashing. Is there any obvious sign that he is going faster.
 
Get the sprite you want to use ask in resource requests if they can make it.
Then when you dash change the hero's graphic to the dash template, and when he's not dash switch to normal.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top