Input Names

From Rivals of Aether Unofficial Workshop Manual

Use these names when checking a character's input variables. For example, special_pressed will check if the special button was pressed within the last 6 frames while up_down will check if the joystick is currently held upward.

ℹ️

Note: While strong_down exists, strong_pressed does not. Use [direction]_strong_pressed instead.

attack
special
jump
tap_jump
shield
strong
taunt
up
down
left
right
[direction]_strong
[direction]_stick

For directions, another input variable exists, [direction]_hard_pressed, used for joystick hard presses, like dashing or dropping through platforms. Additionally, the angle of the joystick can be found in player variable joy_dir, and you can check if it is in the neutral state or not with joy_pad_idle. Both variables works with keyboard as well.

Examples[edit | edit source]

Basic[edit | edit source]

// attack_update.gml
// pressing the attack button while in the 3rd window will put the character in a different attack window
// this will also trigger if you press the button within 6 frames before entering the 3rd window, because of [input]_pressed accounting for input buffer
if ( attack == AT_USPECIAL && window == 3 ){
    if ( attack_pressed ) {
        window = 6;
        window_timer = 0;
    }
}

See Also[edit | edit source]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.