Fix quote
This commit is contained in:
parent
a6839bc96b
commit
09f6925a00
|
@ -8,7 +8,7 @@ func physics_update(_delta):
|
||||||
var direction = get_input_direction()
|
var direction = get_input_direction()
|
||||||
player.velocity = direction * player.speed
|
player.velocity = direction * player.speed
|
||||||
|
|
||||||
player.move_and_slide() # This method calculate with delta, we don’t need to do it.
|
player.move_and_slide() # This method calculate with delta, we don't need to do it.
|
||||||
|
|
||||||
if player.velocity == Vector2.ZERO:
|
if player.velocity == Vector2.ZERO:
|
||||||
state_machine.transition_to("Idle")
|
state_machine.transition_to("Idle")
|
||||||
|
|
Loading…
Reference in a new issue