浏览代码

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.
Hugo Locurcio 1 年之前
父节点
当前提交
c37e09d37c
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      tutorials/animation/creating_movies.rst

+ 3 - 1
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
 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
 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
 terminal running Godot is **not recommended**, as it will result in an