From ac3f9183e8b4e40014e51365134cc853e0530445 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 21 Sep 2023 00:56:00 +0200 Subject: [PATCH] Document `--quit-after` command line argument in Creating movies This can be useful to safely create a "stop recording" point that is consistent across runs, without having to modify anything in the project. --- tutorials/animation/creating_movies.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/animation/creating_movies.rst b/tutorials/animation/creating_movies.rst index ab645ad61f0..e1b37362392 100644 --- a/tutorials/animation/creating_movies.rst +++ b/tutorials/animation/creating_movies.rst @@ -247,7 +247,9 @@ Quitting Movie Maker mode ------------------------- To safely quit a project that is using Movie Maker mode, use the X button at the -top of the window, or call ``get_tree().quit()`` in a script. +top of the window, or call ``get_tree().quit()`` in a script. You can also use +the ``--quit-after N`` command line argument where ``N`` is the number of frames +to render before quitting. Pressing :kbd:`F8` (:kbd:`Cmd + .` on macOS) or pressing :kbd:`Ctrl + C` on the terminal running Godot is **not recommended**, as it will result in an