I
IBarcia
Guest
Hi everybody,
I have just bought an 8BITDO SN30 Gamepad to test my shooter in Game Maker studio 2.
The game detects the fire and jump buttons but I can't make it detect the direction pad, the traditional D-pad or "cross".
Any idea? So far, what I've tried is this:
key_right = gamepad_button_check(0,gp_padr);
key_left = gamepad_button_check(0,gp_padl);
key_up = gamepad_button_check(0,gp_padu);
key_down = gamepad_button_check(0,gp_padd);
key_jump = gamepad_button_check_pressed(0,gp_face1); //This one works well
key_shoot = gamepad_button_check(0,gp_face2); //This one works well
Thank you all and have a nice day
I have just bought an 8BITDO SN30 Gamepad to test my shooter in Game Maker studio 2.
The game detects the fire and jump buttons but I can't make it detect the direction pad, the traditional D-pad or "cross".
Any idea? So far, what I've tried is this:
key_right = gamepad_button_check(0,gp_padr);
key_left = gamepad_button_check(0,gp_padl);
key_up = gamepad_button_check(0,gp_padu);
key_down = gamepad_button_check(0,gp_padd);
key_jump = gamepad_button_check_pressed(0,gp_face1); //This one works well
key_shoot = gamepad_button_check(0,gp_face2); //This one works well
Thank you all and have a nice day