Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up&left don't work with Fire #5

Open
leomil72 opened this issue Apr 8, 2023 · 2 comments
Open

Up&left don't work with Fire #5

leomil72 opened this issue Apr 8, 2023 · 2 comments

Comments

@leomil72
Copy link

leomil72 commented Apr 8, 2023

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.

@leomil72 leomil72 changed the title Up&left doesn't work with Fire Up&left don't work with Fire Apr 8, 2023
@britzl
Copy link
Contributor

britzl commented Apr 10, 2023

@leomil72
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants