From a9494635ea57fefdf736c4fcf42e0a873dd74bb7 Mon Sep 17 00:00:00 2001 From: Meriipu Date: Tue, 23 Jun 2020 07:02:37 +0000 Subject: [PATCH] your_first_game.rst: Clarify a section raised in an issue Should close #1625 --- getting_started/step_by_step/your_first_game.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/getting_started/step_by_step/your_first_game.rst b/getting_started/step_by_step/your_first_game.rst index 35349b151..209064348 100644 --- a/getting_started/step_by_step/your_first_game.rst +++ b/getting_started/step_by_step/your_first_game.rst @@ -779,10 +779,16 @@ You can assign this property's value in two ways: - Click the down arrow next to "[empty]" and choose "Load". Select ``Mob.tscn``. -Next, click on the Player and connect the ``hit`` signal. We want to make a -new function named ``game_over``, which will handle what needs to happen when a -game ends. Type "game_over" in the "Receiver Method" box at the bottom of the -"Connect a Signal" window and click "Connect". Add the following code to the +Next, select the ``Player`` node in the Scene dock, and access the Node dock on +the sidebar. Make sure to have the Signals tab selected in the Node dock. + +You should see a list of the signals for the ``Player`` node. Find and +double-click the ``hit`` signal in the list (or right-click it and select +"Connect..."). This will open the signal connection dialog. We want to make +a new function named ``game_over``, which will handle what needs to happen when +a game ends. +Type "game_over" in the "Receiver Method" box at the bottom of the +signal connection dialog and click "Connect". Add the following code to the new function, as well as a ``new_game`` function that will set everything up for a new game: