You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried the tutorial on my Linux box (Kubuntu 22.04) with Defold 1.4.4.
I can move the player in any of the 8 directions and fire a rocket anywhere expect to the up&left direction.
Curiosly, it doesn't get the combination of moving and firing in such direction.
This is confirmed by a "print(action_id)" that I put inside "on_input" function in the player.script file: when I press the up&left keys together with the fire (space) I only get a sequence of "[up]" and "[left]" while the other combinations give also the "[fire]" action_id.
The text was updated successfully, but these errors were encountered:
leomil72
changed the title
Up&left doesn't work with Fire
Up&left don't work with Fire
Apr 8, 2023
I can confirm that changing the "fire" key to another key other than space solves the problem. Very strange.
But this is not a fix, it's just a work-around.
I've tried the tutorial on my Linux box (Kubuntu 22.04) with Defold 1.4.4.
I can move the player in any of the 8 directions and fire a rocket anywhere expect to the up&left direction.
Curiosly, it doesn't get the combination of moving and firing in such direction.
This is confirmed by a "print(action_id)" that I put inside "on_input" function in the player.script file: when I press the up&left keys together with the fire (space) I only get a sequence of "[up]" and "[left]" while the other combinations give also the "[fire]" action_id.
The text was updated successfully, but these errors were encountered: