From 28fd0372eb9e58db5687b35d2a121520ed771c99 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 15 May 2022 19:23:50 +0200 Subject: [PATCH] Fix example resource path in Data paths Co-authored-by: Sergey Pershenkov --- tutorials/io/data_paths.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tutorials/io/data_paths.rst b/tutorials/io/data_paths.rst index c75825aa9..2a1c7191e 100644 --- a/tutorials/io/data_paths.rst +++ b/tutorials/io/data_paths.rst @@ -19,9 +19,10 @@ As mentioned in the :ref:`doc_command_line_tutorial`, Godot considers that a project exists in any given folder that contains a ``project.godot`` text file, even if such file is empty. -Accessing project files can be done by opening any path with ``res://`` -as a base. For example, a texture located in the root of the project -folder may be opened from the following path: ``res://some_texture.png``. +You can access any file relative to it by writing paths starting with +``res://``, which stands for resources. For example, you can access an image +file ``character.png`` located in the project's root folder in code with the +following path: ``res://character.png``. User path (persistent data) ---------------------------