Code
if (!keyboard_check(vk_up) and !keyboard_check(vk_space))
{
speed=0;
sprite_index = idle;
pers_legs.visible = false;
}
if (keyboard_check(vk_up))
{
speed = 4;
pers_legs.visible = true;
if (!keyboard_check(vk_space))
{
sprite_index = move_torso;
}
}
if (keyboard_check(vk_left))
{
direction += 3;
image_angle = direction;
}
if (keyboard_check(vk_right))
{
direction -= 3;
image_angle = direction;
}
if (keyboard_check(vk_space))
{
sprite_index = atta;
}
все работает отлично!
Но когда нажимаю up + left + spase то
Code
if (keyboard_check(vk_space))
{
sprite_index = atta;
}
несрабатывает((
а когда up + right + spase то все супер!