Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak animation file names to be less confusing in Creating the player scene #10101

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -69,11 +69,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