From c290b1ce726807f79edad550ff15cd43f202043a Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Mon, 26 Feb 2024 09:11:08 -0600 Subject: [PATCH] Experimenting with grapple duration --- Player/GrappleHook/GrappleHook.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Player/GrappleHook/GrappleHook.gd b/Player/GrappleHook/GrappleHook.gd index c749ba6..2a6135c 100644 --- a/Player/GrappleHook/GrappleHook.gd +++ b/Player/GrappleHook/GrappleHook.gd @@ -29,7 +29,7 @@ func launch(delta): func grappleStart(): grappleSpeed = (500 + clamp(player.velocity.length(), 500, 1000)) - grappleDur = .5 + grappleDur = 1 grappling = true func _physics_process(delta): @@ -54,7 +54,7 @@ func _physics_process(delta): launch(delta) elif proj and grappling: player.jumps = 1 - player.velocity.y = player.JUMP_VELOCITY + #player.velocity.y = player.JUMP_VELOCITY grappleDur = 0 retractStart = proj.position