Skip to content

Commit 72afe8c

Browse files
authored
Merge pull request #9834 from Piralein/update_images
Update getting started 2D to 4.3
2 parents 493f0ea + 9202c89 commit 72afe8c

13 files changed

+13
-3
lines changed

getting_started/first_2d_game/06.heads_up_display.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,20 @@ mobs to remove themselves. We can do this with the "group" feature.
285285

286286
In the ``Mob`` scene, select the root node and click the "Node" tab next to the
287287
Inspector (the same place where you find the node's signals). Next to "Signals",
288-
click "Groups" and you can type a new group name and click "Add".
288+
click "Groups" to open the group overview
289+
and the "+" button to open the "Create New Group" dialog.
289290

290291
.. image:: img/group_tab.webp
291292

292-
Now all mobs will be in the "mobs" group. We can then add the following line to
293-
the ``new_game()`` function in ``Main``:
293+
Name the group ``mobs`` and click "ok" to add a new scene group.
294+
295+
.. image:: img/add_group_dialog.webp
296+
297+
Now all mobs will be in the "mobs" group.
298+
299+
.. image:: img/scene_group_mobs.webp
300+
301+
We can then add the following line to the ``new_game()`` function in ``Main``:
294302

295303
.. tabs::
296304
.. code-tab:: gdscript GDScript

getting_started/first_2d_game/07.finishing-up.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ All audio is automatically imported with the ``Loop`` setting disabled.
3737
If you want the music to loop seamlessly, click on the Stream file arrow,
3838
select ``Make Unique``, then click on the Stream file and check the ``Loop`` box.
3939

40+
.. image:: img/unique_resource_music.webp
41+
4042
To play the music, add ``$Music.play()`` in the ``new_game()``
4143
function and ``$Music.stop()`` in the ``game_over()`` function.
4244

4.56 KB
Loading
-630 Bytes
Loading
926 Bytes
Loading
-278 Bytes
Loading
-324 Bytes
Loading
-310 Bytes
Loading
-9.5 KB
Loading
5.74 KB
Loading

0 commit comments

Comments
 (0)