I
IcyZ1ne
Guest
So what I am trying to achieve is a settings menu in which the player can see which button does what, and also if he double clicks on it, he would be able to change the button to whatever he desires. This is what I've tried, but didn't seem to work.
if (image_index = 0 and keyboard_check_pressed(ord("Q")))
{
image_index = 5;
jump = keyboard_check(ord("Q"));
}
(This is just an example. I have made frames for a few buttons and tried to put this code in a left released event.)
if (image_index = 0 and keyboard_check_pressed(ord("Q")))
{
image_index = 5;
jump = keyboard_check(ord("Q"));
}
(This is just an example. I have made frames for a few buttons and tried to put this code in a left released event.)