This commit is contained in:
Rendo 2025-11-28 21:46:32 +05:00
commit b4f6f65f2b
6 changed files with 151 additions and 65 deletions

View file

@ -270,16 +270,20 @@ metadata/_custom_type_script = "uid://3777rkbebgjm"
[node name="Crouch" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("stand_up_area", "player", "animation_player")]
script = ExtResource("9_oprun")
SPEED = 3.125
stand_up_area = NodePath("../../StandArea")
player = NodePath("../..")
animation_player = NodePath("../../AnimationPlayer")
[node name="Stand" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]
script = ExtResource("10_a8ls1")
SPEED = 6.25
JUMP_VELOCITY = 6.0
player = NodePath("../..")
[node name="Walk" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]
script = ExtResource("11_qfm1y")
SPEED = 3.125
player = NodePath("../..")
[node name="Fall" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]