Skip to content

Commit e1b2f0f

Browse files
Update getting_started/first_2d_game/03.coding_the_player.rst
Co-authored-by: A Thousand Ships <[email protected]>
1 parent 39db686 commit e1b2f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

getting_started/first_2d_game/03.coding_the_player.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ movement. Let's place this code at the end of the ``_process()`` function:
283283
$AnimatedSprite2D.flip_h = velocity.x < 0
284284
if velocity.y != 0:
285285
$AnimatedSprite2D.flip_v = velocity.y > 0
286+
286287
.. code-tab:: csharp
287288

288289
if (velocity.X != 0)

0 commit comments

Comments
 (0)