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

Mouse click events are not working in Game.tscn #178

Closed
1 of 2 tasks
phoenleo opened this issue Feb 23, 2020 · 1 comment
Closed
1 of 2 tasks

Mouse click events are not working in Game.tscn #178

phoenleo opened this issue Feb 23, 2020 · 1 comment

Comments

@phoenleo
Copy link
Contributor

I'm submitting a...

  • Bug report.
  • Feature request.

Bug report

What is the current behavior?
Mouse events are not passed into _unhandled_input() function in Hook state.
Both left click and right click events are not passed to _unhandled_input() thus making the game unplayable due to hook input event is never processed

What is the expected behavior?
Mouse left click should trigger hook input event and Player can fire the hook

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.

  1. Clone the project from master branch with commit ID ad33cf9
  2. Play the Game (F5)
  3. Player cannot fire Hook using mouse left click in Game.tscn
  4. If Player add the hook action to another input (e.g. R key), the hook can be fired using the new key (R key)
  5. Hook can be fired using mouse left click in Player.tscn and Hook.tscn

Feature request

Describe the problem you're trying to solve.

Tell us which solutions you've explored, the solution you would pick, and why you think it would be the best for everyone.

Other

Other information
Tested on:

  • Windows 10
  • Godot 3.1 and Godot 3.2
@NathanLovato
Copy link
Contributor

Closed by #179

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