D
DarlesLSF
Guest
Hello, I set the directional keys for moving my character (vk_down, vk_up, vk_left and vk_right), but when I press any other key, this happen:
Why this happen?
Step event:
Why this happen?
Step event:
Code:
var direita = keyboard_check(vk_right);
var esquerda = keyboard_check(vk_left);
var cima = keyboard_check(vk_up);
var baixo = keyboard_check(vk_down);
vel_h = (direita - esquerda) * vel;
vel_v = (baixo - cima) * vel;