Compare commits

..

No commits in common. "db827a8d30611c9841629201bd7d2dde932541dc" and "e9884589a8e9c5dde1125d13a12d48cb11b560fe" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ Let's illustrate this with a practical code example:
func _idle_update(delta: float) -> void: func _idle_update(delta: float) -> void:
var dir: Vector2 = Input.get_vector( var dir: Vector2 = Input.get_vector(
&"ui_left", &"ui_right", &"ui_up", &"ui_down") &"ui_left", &"ui_right", &"ui_up", &"ui_down")
if not dir.is_zero_approx(): if dir.is_zero_approx():
hsm.dispatch(&"movement_started") hsm.dispatch(&"movement_started")