Added screenshot to first_2d_game/player_scene for clarity

This commit is contained in:
David Choi
2024-08-26 22:41:49 -03:00
parent 7628f87f49
commit 164f7e37ad
2 changed files with 5 additions and 3 deletions

View File

@@ -61,12 +61,14 @@ 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/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
"up". Find the player images in the "FileSystem" tab - they're in the ``art``

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB