From 988b4caa7558e7f3fad836300ad2ab4faa0eff1d Mon Sep 17 00:00:00 2001 From: skyace65 Date: Sun, 2 Jan 2022 09:39:57 -0500 Subject: [PATCH] Document how export filters work (cherry picked from commit 13f4f7f24cb1a61fc3ccc644219499f0ce7b509a) --- tutorials/export/exporting_projects.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tutorials/export/exporting_projects.rst b/tutorials/export/exporting_projects.rst index 3bdf3b418..191e1505a 100644 --- a/tutorials/export/exporting_projects.rst +++ b/tutorials/export/exporting_projects.rst @@ -103,8 +103,8 @@ option in the editor: .. _doc_exporting_projects_export_mode: -Export mode -~~~~~~~~~~~ +Resource options +~~~~~~~~~~~~~~~~ When exporting, Godot makes a list of all the files to export and then creates the package. There are 3 different modes for exporting: @@ -122,6 +122,17 @@ select every scene or resource you want to export. .. image:: img/expselected.png +.. note:: + + Files and folders whose name begin with a period will never be included in + the exported project. This is done to prevent version control folders like + ``.git`` from being included in the exported PCK file. + +Below the list of resources are two filters that can be setup. The first allows +non resource files such as ``.txt``,``.json`` and ``.csv`` to be exported with +the project. The second filter can be used to exclude every file of a certain +type without manually deselecting every one. For example, ``.png`` files. + Exporting from the command line -------------------------------