|
@@ -61,11 +61,13 @@ appearance and animations for our player. Notice that there is a warning symbol
|
|
|
next to the node. An ``AnimatedSprite2D`` requires a :ref:`SpriteFrames
|
|
|
<class_SpriteFrames>` resource, which is a list of the animations it can
|
|
|
display. To create one, find the ``Sprite Frames`` property under the ``Animation`` tab in the Inspector and click
|
|
|
-"[empty]" -> "New SpriteFrames". Click on the ``SpriteFrames`` you just
|
|
|
-created to open the "SpriteFrames" panel:
|
|
|
+"[empty]" -> "New SpriteFrames":
|
|
|
|
|
|
-.. image:: img/spriteframes_panel.webp
|
|
|
+.. image:: img/new_spriteframes.webp
|
|
|
+
|
|
|
+Click on the ``SpriteFrames`` you just created to open the "SpriteFrames" panel:
|
|
|
|
|
|
+.. image:: img/spriteframes_panel.webp
|
|
|
|
|
|
On the left is a list of animations. Click the "default" one and rename it to
|
|
|
"walk". Then click the "Add Animation" button to create a second animation named
|