Skip to content

Commit

Permalink
Merge pull request godotengine#10101 from Calinou/player-scene-animat…
Browse files Browse the repository at this point in the history
…ion-tweak-names

Tweak animation file names to be less confusing in Creating the player scene
  • Loading branch information
mhilbrunner authored Dec 10, 2024
2 parents f967e9e + b364717 commit bdcf0de
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions getting_started/first_2d_game/02.player_scene.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ 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``
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 dock - they're in the ``art``
folder you unzipped earlier. Drag the two images for each animation, named
``playerGrey_walk[1/2]`` and ``playerGrey_walk[2/2]``, into the "Animation Frames"
``playerGrey_walk1``, ``playerGrey_walk2`` (for ``walk``),
``playerGrey_up1``, and ``playerGrey_up2`` (for ``up``) to the **Animation Frames**
side of the panel for the corresponding animation:

.. image:: img/spriteframes_panel2.webp
Expand Down

0 comments on commit bdcf0de

Please sign in to comment.