-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current implementation doesn't handle multiple different inputs for the same direction.
Only the semantic of the input is considered, not the means how they're achieved.
To fix that, this list could track concrete InputAxis instead of just their assigned semantic.
LD58-CrunchTime/LD58/source/World/Player/Player.cs
Lines 66 to 68 in ed3c21b
| // TODO: Capture actual input instead of just direction, | |
| // to support multiple keys (or keyboards) for the same action | |
| LinkedList<Direction> inputs = new LinkedList<Direction>(); |
This way we could allow movement using both W, A, S, D and ↑, ←, ↓, → or differnt devices like controllers or multiple keyboards.
Metadata
Metadata
Assignees
Labels
No labels