Dashing! Double Tap Directional Key to Dash.

Yion

Villager
Member
Joined
Jul 13, 2018
Messages
5
Reaction score
3
First Language
German
Primarily Uses
RMMV
Hello i've been searching Google and this Forum for a Plugin that allows to set
the Dashing key to Double Tapping a Directional Key, Double clicking with the Mouse or
Double Touching on your phone.

This would free up the Shift button for PC users and enable a fun way to Dash on Mobile!

I know that this is probably also possible to do with a common event but it's probably way
more Lag-Free and easier to do with a Javascript Plugin.

Thanks for any Help!

EDIT: so i have found a Script for Rpg Maker VX Ace in case anyone with
Scripting knowledge wants to get some ideas how it was solved before:

 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,623
Reaction score
1,439
First Language
French
Primarily Uses
RMMV
this can easy do yourtself if you know how code in js.
Just add a new listener
PHP:
document.addEventListener('keydown', yourKeyFonction);
and also scope in a timeOut to set a boolean to check if the user double click inside the timeOut.
PHP:
setTimeout(function(){ alert("Hello"); }, 400);
https://www.w3schools.com/jsref/met_win_settimeout.asp
 

Yion

Villager
Member
Joined
Jul 13, 2018
Messages
5
Reaction score
3
First Language
German
Primarily Uses
RMMV
Thanks for the Reply! But unfortunately i do not know how to code in JS :/
 

Yion

Villager
Member
Joined
Jul 13, 2018
Messages
5
Reaction score
3
First Language
German
Primarily Uses
RMMV

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top