Skip to content

Commit 66b59c1

Browse files
authored
Merge pull request godotengine#8437 from Piralein/moreorlessorwarning
Remove the remaining reminder and add it as a warning (Your first 2D game - Heads up display)
2 parents e760a9f + a24b42c commit 66b59c1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

getting_started/first_2d_game/06.heads_up_display.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,6 @@ In ``game_over()`` we need to call the corresponding ``HUD`` function:
371371

372372
_hud->show_game_over();
373373

374-
Just a reminder: we don't want to start the new game automatically, so
375-
remove the call to ``new_game()`` in ``_ready()`` if you haven't yet.
376-
377374
Finally, add this to ``_on_score_timer_timeout()`` to keep the display in sync
378375
with the changing score:
379376

@@ -390,6 +387,12 @@ with the changing score:
390387

391388
_hud->update_score(score);
392389

390+
.. warning::
391+
392+
Remember to remove the call to ``new_game()`` from
393+
``_ready()`` if you haven't already, otherwise
394+
your game will start automatically.
395+
393396
Now you're ready to play! Click the "Play the Project" button. You will be asked
394397
to select a main scene, so choose ``main.tscn``.
395398

0 commit comments

Comments
 (0)