9 lines
426 B
Plaintext
9 lines
426 B
Plaintext
|
function c_input() {
|
||
|
left = keyboard_check(ord("A")) + keyboard_check(vk_left);
|
||
|
down = keyboard_check(ord("S")) + keyboard_check(vk_down);
|
||
|
up = keyboard_check(ord("W")) + keyboard_check(vk_up);
|
||
|
right = keyboard_check(ord("D")) + keyboard_check(vk_right);
|
||
|
|
||
|
select = mouse_check_button_pressed(mb_left) + keyboard_check_pressed(vk_enter);
|
||
|
back = mouse_check_button_pressed(mb_right) + keyboard_check_pressed(vk_escape);
|
||
|
}
|