Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Rewrite the input system #22

Closed
arthurmco opened this issue Feb 13, 2020 · 3 comments
Closed

Rewrite the input system #22

arthurmco opened this issue Feb 13, 2020 · 3 comments
Labels
subsystem/input Things related to the input subsystem
Milestone

Comments

@arthurmco
Copy link
Owner

The current input system does not sepparate inputs from actions. This can be bad if the user needs to switch the default keys to other keys of its liking

For example, separating the input of the letter 'Q` to the action of "Building a house"

Also, rewrite the player system to respond to the actions instead

@arthurmco arthurmco added the subsystem/input Things related to the input subsystem label Feb 13, 2020
@arthurmco arthurmco added this to the 0.2.0 milestone Feb 13, 2020
@arthurmco
Copy link
Owner Author

Input system rewrite done in 1cb7581

I managed to maintain a good chunk of the code, specially the 3d picker code, so it is not exactly a rewrite, more like a refactor.

@arthurmco
Copy link
Owner Author

Now to the player system!

@arthurmco
Copy link
Owner Author

The input system is rewritten, and it works.

All actions that worked before, like moving and attacking, works now, as in 867102b.

Closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
subsystem/input Things related to the input subsystem
Projects
None yet
Development

No branches or pull requests

1 participant