feat: added jump

This commit is contained in:
Sara 2025-05-27 11:22:38 +02:00
parent 0c3cd09d88
commit 9d8ffd5df8
9 changed files with 63 additions and 7 deletions

View file

@ -22,8 +22,9 @@ func _process(_delta):
"
[node name="Player" type="PlayerBody"]
wall_min_slide_angle = 0.0
floor_max_angle = 0.523599
wall_min_slide_angle = 0.785398
floor_max_angle = 0.968658
floor_snap_length = 1.5
[node name="PlayerStateMachine" type="PlayerStateMachine" parent="."]

View file

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="going"
run/main_scene="uid://bp0vgy3lnsucd"
run/main_scene="uid://sofv1apr4467"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"
@ -42,6 +42,11 @@ split_step={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}
jump={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":70,"key_label":0,"unicode":102,"location":0,"echo":false,"script":null)
]
}
[layer_names]