changed hatch speed

This commit is contained in:
pennyrigate 2023-03-22 15:21:47 -04:00
parent 72f1d63f6a
commit 32feac9f67

View file

@ -227,7 +227,7 @@ func _process_transport(delta):
func _process_hatch(delta): func _process_hatch(delta):
if Input.is_action_just_pressed("exit_hatch"): if Input.is_action_just_pressed("exit_hatch"):
anims.play("enter hatch", -1, -1.25,true) anims.play("enter hatch", -1, -2,true)
emit_signal("hatch_exited") emit_signal("hatch_exited")
func spawn_arrow(): func spawn_arrow():
@ -319,7 +319,7 @@ func enter_hatch(snap_position):
current_state = State.INACTIVE current_state = State.INACTIVE
hitbox.disabled = true hitbox.disabled = true
collision_layer = 0 collision_layer = 0
anims.play("enter hatch", -1, 1.25) anims.play("enter hatch", -1, 2)
func die(): func die():
#If the player is already dead, don't kill them again #If the player is already dead, don't kill them again