Skip to content

Commit f0664c7

Browse files
committed
Help people create MobPath as a child of Main
Better steer people to create MobPath as a child of Main, so that they don't accidentally create it as a child of StartPosition (the previously selected item), which has a transform. If they happen to re-parent to Main after creating the Path2D as a child of StartPosition, they end up with a transform on the Path2D, which breaks the expected spawn point of mobs. See #10698 (comment). Closes #6372, closes #10698.
1 parent b884bfe commit f0664c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

getting_started/first_2d_game/05.the_main_game_scene.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Spawning mobs
3838
-------------
3939

4040
The Main node will be spawning new mobs, and we want them to appear at a random
41-
location on the edge of the screen. Add a :ref:`Path2D <class_Path2D>` node
42-
named ``MobPath`` as a child of ``Main``. When you select ``Path2D``, you will
43-
see some new buttons at the top of the editor:
41+
location on the edge of the screen. Click the ``Main`` node in the Scene dock, then
42+
add a child :ref:`Path2D <class_Path2D>` node named ``MobPath``. When you select
43+
``Path2D``, you will see some new buttons at the top of the editor:
4444

4545
.. image:: img/path2d_buttons.webp
4646

0 commit comments

Comments
 (0)