From a4e66a6d4c338c6d3af7de6d9ac9ad0105a9da33 Mon Sep 17 00:00:00 2001 From: mikatomik Date: Sun, 11 Sep 2022 23:25:44 -0400 Subject: Add jump keybind Commit cherry-picked from previous branch. --- project.godot | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'project.godot') diff --git a/project.godot b/project.godot index 53d675f..c74f3ce 100644 --- a/project.godot +++ b/project.godot @@ -70,6 +70,12 @@ left={ , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) ] } +jump={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} [physics] -- cgit v1.2.3