diff --git a/Prefabs/player.tscn b/Prefabs/player.tscn index eb34399..3af5487 100644 --- a/Prefabs/player.tscn +++ b/Prefabs/player.tscn @@ -112,8 +112,7 @@ script = ExtResource("3_knrd4") [node name="On Floor" type="Node" parent="State Machine"] script = ExtResource("4_hck1p") -move_speed = 7.0 -move_transition_speed = 7.0 +move_speed = 9.0 [node name="Dodge Roll" type="Node" parent="State Machine"] script = ExtResource("5_hck1p") @@ -122,6 +121,8 @@ script = ExtResource("5_hck1p") script = ExtResource("6_08u7w") fired_object = ExtResource("7_kgmex") object_speed = 40.0 +move_speed = 2.0 +move_transition_speed = 5.0 [node name="Body" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0.0537765) diff --git a/Scripts/ranged_attack.gd b/Scripts/ranged_attack.gd index b9c9637..c927889 100644 --- a/Scripts/ranged_attack.gd +++ b/Scripts/ranged_attack.gd @@ -14,6 +14,7 @@ func Enter(): func Physics_Update(delta): body_look_at_mouse() + standard_movement(delta) apply_gravity(delta) if Input.is_action_just_released("ranged_attack"): fire_projectile()