Experimenting with grapple duration

This commit is contained in:
Bingus_Violet 2024-02-26 09:11:08 -06:00
parent 13ccecad19
commit c290b1ce72

View file

@ -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