Experimenting with grapple duration
This commit is contained in:
parent
13ccecad19
commit
c290b1ce72
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue