T
Type Ace
Guest
Hello!
I am using a JOYSTICK, not a GAMEPAD.
I have a problem with the player movement (Player moves only LEFT. I want him to move RIGHT too).
this is the code (Step Event):
///Movement
if (joystick_direction(1) == vk_numpad6)
{
hspd = spd;
}
if (joystick_direction(1) == vk_numpad4)
{
hspd = -spd;
}
else
{
hspd = 0;
}
Can anybody help?
Thanks in advace & have a nice day
I am using a JOYSTICK, not a GAMEPAD.
I have a problem with the player movement (Player moves only LEFT. I want him to move RIGHT too).
this is the code (Step Event):
///Movement
if (joystick_direction(1) == vk_numpad6)
{
hspd = spd;
}
if (joystick_direction(1) == vk_numpad4)
{
hspd = -spd;
}
else
{
hspd = 0;
}
Can anybody help?
Thanks in advace & have a nice day
Last edited by a moderator: