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

Update input handling to use 'a' key instead of ctrl #28

Merged
merged 2 commits into from
Aug 4, 2019
Merged

Conversation

bdjewkes
Copy link
Collaborator

@bdjewkes bdjewkes commented Aug 4, 2019

Instead of attacking with CTRL-[arrow key], you now press 'a' to prepare an attack, and then press the direction in which you want to attack. They don't need to be pressed simultaneously.

Pressing any key other than a direction clears the queued attack.

Resolves #20. Faces a problem similar to #22; the input listeners should probably ignore input if the chat box has focus.

@bdjewkes bdjewkes requested a review from j127 August 4, 2019 22:35
@bdjewkes bdjewkes merged commit 66188ab into master Aug 4, 2019
@bdjewkes bdjewkes deleted the no_ctrl branch August 4, 2019 23:53
@j127 j127 removed their request for review August 7, 2019 18:28
@j127 j127 self-assigned this Aug 7, 2019
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

Successfully merging this pull request may close these issues.

CTRL-Arrow key input doesn't work on mac; it swithces to different desktops
2 participants