key_down(k)
if(k == "x")
if(selecting || Dead)
return
if(Stamina <= 0)
move_speed = 8
else if(Stamina >= 0)
move_speed = 15
Stamina -= 5
Stamina_bar.Update()
key_up(k)
if(k == "x")
if(selecting || Dead)
return
if(Stamina >= Staminamax)
Stamina = 100
move_speed = 8
else
Stamina += 5
move_speed = 8
Problem description: In my game i use Forum_accounts Sidecroller library to handle the Pixel Movement in my game. The problem is the key_up and key_down are not responding, neither are my macros are working as well.
I think the problem could be that im working on a Linux OS, It worked before switching to Linux