Dashing! Double Tap Directional Key to Dash.

● ARCHIVED · READ-ONLY
Started by Yion 4 posts View original ↗
  1. 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:

    Link
    https://forums.rpgmakerweb.com/index.php?threads/double-tap-dash.16854/
  2. 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
  3. Thanks for the Reply! But unfortunately i do not know how to code in JS :/
  4. Bump