Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1651

My character disappears when I try to walk and attack at the same time

$
0
0
Create some mechanics and animations for my character and individually they work, but when I try to attack while I walk it simply disappears, what could be going wrong

GML:
*Criar
vel_hor = 0;
vel_vert = 0;
vel = 1.5;
grav = .30;
vel_jump = 5;
vel_roll = 3
vel_run = 2;

inputs = {
    left : ord("A"),
    right : ord("D"),
    jump : ord("W"),
    roll : ord("R"),
    run : vk_shift,
    attack1 : mb_left,
    block : mb_right
}

Etapa
var _left = keyboard_check(inputs.left)
var...
My character disappears when I try to walk and attack at the same time

Viewing all articles
Browse latest Browse all 1651

Trending Articles