U
uni00
Guest
Character disappears when no keyboard is pressed
This is the only code for that player.
thanks!
This is the only code for that player.
thanks!
GML:
--o_player1.step--
left = (keyboard_check(vk_left));
right = (keyboard_check(vk_right));
up = (keyboard_check(vk_up));
down = (keyboard_check(vk_down));
hspeed = (right - left);
vspeed = (down - up);
image_xscale = (right - left) * 0.4;