notes and changed dash behaviour to be horizontal only
This commit is contained in:
parent
f1dea7e36d
commit
44de4bd028
2 changed files with 3 additions and 1 deletions
|
|
@ -98,6 +98,7 @@ func _physics_process(delta):
|
|||
gravity = 0
|
||||
dash_time -= delta
|
||||
var dash_direction = camera.global_position.direction_to(dash_node.global_position)
|
||||
dash_direction.y = 0
|
||||
velocity = dash_direction * SPEED*350 * delta
|
||||
elif dashing:
|
||||
dashing = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue