diff options
| author | Xander Swan <[hidden email]> | 2026-01-01 18:32:20 -0500 |
|---|---|---|
| committer | Xander Swan <[hidden email]> | 2026-01-01 18:32:20 -0500 |
| commit | 65a2ceda55198dab3bab75c06c0d50adeb0a1101 (patch) | |
| tree | 2a08400520f60fcd86b381bc840bb5c739ff998a /src/input.odin | |
| parent | dc373b507ca68ada2cbf4c8e0d7949d6bc46ed9b (diff) | |
lots of changes + player dash
Diffstat (limited to 'src/input.odin')
| -rw-r--r-- | src/input.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.odin b/src/input.odin index de2af7e..475be92 100644 --- a/src/input.odin +++ b/src/input.odin @@ -17,12 +17,14 @@ actions: struct { move_left: Keybind, move_right: Keybind, jump: Keybind, + dash: Keybind, } init_keybinds :: proc() { actions.move_left.input = .A actions.move_right.input = .D actions.jump.input = .SPACE + actions.dash.input = .LEFT_SHIFT } is_keybind_down :: proc(keybind: Keybind) -> bool { |
