Skip to content

Commit 39db686

Browse files
Clean up comments in player movement code
Removed unnecessary comments in GDScript code.
1 parent e24d120 commit 39db686

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

getting_started/first_2d_game/03.coding_the_player.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ movement. Let's place this code at the end of the ``_process()`` function:
271271

272272
.. tabs::
273273
.. code-tab:: gdscript GDScript
274-
# to allow the
275-
276-
277-
278274
if velocity.x != 0:
279275
$AnimatedSprite2D.animation = "walk"
280276
elif velocity.y != 0:

0 commit comments

Comments
 (0)