Browse Source

Clarification in Getting Started 2D

Max Hilbrunner 2 years ago
parent
commit
1645e5740c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getting_started/first_2d_game/04.creating_the_enemy.rst

+ 2 - 2
getting_started/first_2d_game/04.creating_the_enemy.rst

@@ -145,8 +145,8 @@ these names from the list (array indices start at ``0``). ``randi() % n``
 selects a random integer between ``0`` and ``n-1``.
 selects a random integer between ``0`` and ``n-1``.
 
 
 The last piece is to make the mobs delete themselves when they leave the screen.
 The last piece is to make the mobs delete themselves when they leave the screen.
-Connect the ``screen_exited()`` signal of the ``VisibleOnScreenNotifier2D`` node and
-add this code:
+Connect the ``screen_exited()`` signal of the ``VisibleOnScreenNotifier2D`` node
+to the ``Mob`` and add this code:
 
 
 .. tabs::
 .. tabs::
  .. code-tab:: gdscript GDScript
  .. code-tab:: gdscript GDScript