File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
getting_started/first_2d_game Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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-
377374Finally, add this to ``_on_score_timer_timeout() `` to keep the display in sync
378375with 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+
393396Now you're ready to play! Click the "Play the Project" button. You will be asked
394397to select a main scene, so choose ``main.tscn ``.
395398
You can’t perform that action at this time.
0 commit comments