mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Merge pull request #9844 from choidavid4/master
Added screenshot to first_2d_game/player_scene for clarity
This commit is contained in:
@@ -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``
|
||||
|
||||
BIN
getting_started/first_2d_game/img/new_spriteframes.webp
Normal file
BIN
getting_started/first_2d_game/img/new_spriteframes.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user