From b9c8fb37818df7909582d127f1a296d8c36cc00b Mon Sep 17 00:00:00 2001 From: Damir Abdulganiev Date: Tue, 26 May 2020 22:03:23 +0300 Subject: [PATCH] fixed incorrect animation name ('right' -> 'walk') --- getting_started/step_by_step/exporting.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting_started/step_by_step/exporting.rst b/getting_started/step_by_step/exporting.rst index 7f901962a..ae708e761 100644 --- a/getting_started/step_by_step/exporting.rst +++ b/getting_started/step_by_step/exporting.rst @@ -111,7 +111,7 @@ changed: position.y = clamp(position.y, 0, screen_size.y) if velocity.x != 0: - $AnimatedSprite.animation = "right" + $AnimatedSprite.animation = "walk" $AnimatedSprite.flip_v = false $AnimatedSprite.flip_h = velocity.x < 0 elif velocity.y != 0: @@ -218,7 +218,7 @@ changed: if (velocity.x != 0) { - animatedSprite.Animation = "right"; + animatedSprite.Animation = "walk"; animatedSprite.FlipV = false; animatedSprite.FlipH = velocity.x < 0; }