started work on door and other various

This commit is contained in:
Clevertop 2024-08-11 21:29:44 +10:00
parent de8bd57c62
commit 419ee45597
6 changed files with 45 additions and 4 deletions

View file

@ -99,6 +99,7 @@ func _physics_process(delta):
dash_time -= delta
var dash_direction = camera.global_position.direction_to(dash_node.global_position)
dash_direction.y = 0
dash_direction = dash_direction.normalized()
velocity = dash_direction * SPEED*350 * delta
elif dashing:
dashing = false