Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
843ce40
doc_converting_glsl_to_godot_shaders/Macros: Replace text about migra…
PoolloverNathan Mar 18, 2023
10cf0d3
Fix link to the 3.x version of Compiling for Linux
kashiw1n Apr 21, 2023
bf84269
Update NavigationObstacle doc for avoidance rework
smix8 May 11, 2023
4356a7f
Document using NoiseTexture3D with FogMaterial in Volumetric fog
Calinou May 12, 2023
6febc8e
classref: Sync with current master branch (c64afeb)
May 13, 2023
a6b2a75
Update tutorials/3d/volumetric_fog.rst
mhilbrunner May 15, 2023
03b9899
Merge pull request #7342 from godotengine/classref/sync-c64afeb
mhilbrunner May 18, 2023
3fb3f67
Merge pull request #7340 from Calinou/volumetric-fog-noisetexture3d
mhilbrunner May 18, 2023
c83b1da
Merge pull request #7334 from smix8/update_navobstacle_doc_4.x
mhilbrunner May 18, 2023
98452b2
Classref fixes
mhilbrunner May 18, 2023
e1e8f41
Merge pull request #7373 from godotengine/classref-fixes
mhilbrunner May 18, 2023
cf9760d
Update NavigationAgent doc for avoidance rework
smix8 May 13, 2023
b4b1d60
Merge pull request #7350 from smix8/update_navagent_doc_4.x
mhilbrunner May 18, 2023
9f4ef23
Fix wrong navigation agent example code
smix8 May 18, 2023
1c64c4a
Merge pull request #7376 from smix8/fix_navagent_example_4.x
mhilbrunner May 18, 2023
6441b69
Fixed code snippet using 3.x name for PhysicsServer2D
ogghostjelly May 19, 2023
b485203
Merge pull request #7381 from OgGhostJelly/patch-1
mhilbrunner May 19, 2023
8e45b3c
Clarify that iOS plugin's files have to be in a very specific directo…
konstantinkopka May 19, 2023
37c50b1
Update GDExtension tutorial for entry functions
paddy-exe May 18, 2023
16d1831
clarify UI position setup
Piralein May 19, 2023
f337bb0
improve description of enums
Piralein May 19, 2023
7043483
update images and clarify scene information
Piralein May 19, 2023
6593354
Mention that all font sizes in Godot are in pixels, not points in Usi…
Calinou May 20, 2023
167c58e
classref: Sync with current master branch (809a982)
May 20, 2023
14788a1
Merge pull request #7390 from godotengine/classref/sync-809a982
mhilbrunner May 20, 2023
6c2259f
Merge pull request #7389 from Calinou/using-fonts-pixel-art-size-2
mhilbrunner May 20, 2023
7cb53b2
Merge pull request #7378 from paddy-exe/update-gdextension-syntax
mhilbrunner May 20, 2023
ba0ec9e
Merge pull request #7387 from Piralein/signal-stuff
mhilbrunner May 20, 2023
e254433
Merge pull request #7386 from Piralein/enum-stuff
mhilbrunner May 20, 2023
ae797db
Merge pull request #7203 from kashiw1n/patch-1
mhilbrunner May 20, 2023
e6cd08f
Fix vector math tutorial
yashmistri May 20, 2023
5f75ad7
Update standard_material_3d.rst
hakro May 21, 2023
782b1d0
Merge pull request #7393 from yashmistri/fix-7388
mhilbrunner May 21, 2023
3599cfb
Merge pull request #7394 from hakro/patch-1
skyace65 May 21, 2023
ae602ba
Merge pull request #7384 from Piralein/ui-stuff
mhilbrunner May 21, 2023
b3f0c96
Fix code typos
fedorenchik May 21, 2023
8bedbe2
Merge pull request #7396 from fedorenchik/patch-1
mhilbrunner May 21, 2023
c2b9aec
Update animation_tree.rst to reflect One Shot's C# enums not being li…
jrdoughty May 22, 2023
ec366a6
doc: replace incorrect Speed variable with _speed
RaspberryEuphoria May 22, 2023
3056130
Replace incorrect Speed variable in C# snippet in scripting_player_in…
mhilbrunner May 23, 2023
5547359
Add a note about 3D asset direction conventions to "Importing 3D scenes"
aaronfranke May 24, 2023
787cfa6
Fix `:abbr:` usage in Internal rendering architecture
Calinou May 24, 2023
b57807b
Make it possible to read abbreviations by tapping on mobile
Calinou May 24, 2023
4ec777d
Update embree library version (embree3-devel) to install for Fedora. …
worstname May 24, 2023
bcb688a
Merge pull request #7408 from Calinou/internal-rendering-architecture…
mhilbrunner May 24, 2023
9c2a7ba
Update instancing.rst
pssoor May 24, 2023
cde9c70
Merge pull request #7414 from pssoor/patch-1
skyace65 May 25, 2023
af34f53
Remove outdated warning from Importing translations tutorial
MisoMosiSpy May 25, 2023
37fe448
Merge pull request #7417 from MisoMosiSpy/excel_cvs_warning
skyace65 May 25, 2023
06c6c3c
Update guidelines on headless exporting in Command line tutorial
Calinou May 26, 2023
faeb8eb
Remove agent avoidance page
smix8 May 26, 2023
028a66a
Merge pull request #7419 from Calinou/command-line-tutorial-export-he…
mhilbrunner May 26, 2023
b7b25ba
Merge pull request #7422 from smix8/remove_agent_avoidance_4.x
mhilbrunner May 26, 2023
5de74ca
classref: Sync with current master branch (2210111)
May 27, 2023
edb7d9e
Minor fixes to navigationagent doc
smix8 May 27, 2023
8ed06f0
Merge pull request #7427 from smix8/minor_navagent_fixes_4.1+
mhilbrunner May 27, 2023
b8c489d
Merge pull request #7425 from godotengine/classref/sync-2210111
mhilbrunner May 27, 2023
15f32c5
GDScript: Add mention that `@onready @export` doesn't work as expected
dalexeev May 27, 2023
8078590
Update using_character_body_2d.rst
kkoang May 27, 2023
a1a5660
Add notes on color/depth buffer formats in Internal rendering archite…
Calinou May 27, 2023
a3a8913
Merge pull request #7430 from kkoang/patch-10
skyace65 May 28, 2023
80a844e
Merge pull request #7426 from dalexeev/gds-onready-export
mhilbrunner May 28, 2023
47bacc9
Added configuring ide for rider (#7420)
br1trs May 28, 2023
d37226e
Fix compute_shaders.rst C# code snippets to compile (#7433)
jasonjmcghee May 29, 2023
d72080c
Merge pull request #7409 from Calinou/abbr-add-mobile-display
mhilbrunner May 29, 2023
b3db4c1
Update pygments to 2.15.1 and restore fixed shader syntax highlighting
bitsawer May 29, 2023
d8e71f7
Update info about BBCode in doc comments and Class Reference
dalexeev May 29, 2023
fee03be
Merge pull request #7406 from aaronfranke/3d-asset-directions
aaronfranke May 29, 2023
031cfc2
Add a section for the Android editor
m4gr3d May 30, 2023
b50c605
Fix RST link in importing 3D scenes asset direction conventions
aaronfranke May 30, 2023
92d962a
delete get_root()
br1trs May 30, 2023
7afa05e
Merge pull request #7440 from aaronfranke/fix-3d-asset-dir
mhilbrunner May 30, 2023
3b6184e
Merge pull request #7441 from br1trs/delete-get-root
mhilbrunner May 30, 2023
7cf7f13
Merge pull request #7439 from m4gr3d/update_android_section
mhilbrunner May 30, 2023
0f37d41
Merge pull request #7412 from dalexeev/update-doc-bbcode
mhilbrunner May 30, 2023
d410ace
Merge pull request #7436 from bitsawer/update_pygments
mhilbrunner May 30, 2023
485116d
Character and typo fixes
mhilbrunner May 31, 2023
837ac94
Fix NavigationLink doc using old property names
smix8 May 31, 2023
5798bf2
Merge pull request #7447 from smix8/navlink_location_4.x
mhilbrunner May 31, 2023
15e35f2
Update navigation examples that use NavigationMesh.create_from_mesh()
smix8 Jun 1, 2023
407bc0b
Merge pull request #7453 from smix8/update_navmesh_create_from_mesh_4.x
mhilbrunner Jun 1, 2023
752e65a
Merge pull request #7446 from mhilbrunner/get-rid-of-weirdness
mhilbrunner Jun 1, 2023
a54fffd
Access NoiseType on FastNoiseLite class
anthonygood Jun 1, 2023
a736e3b
Merge pull request #7455 from anthonygood/patch-1
skyace65 Jun 2, 2023
b360bbc
Include collide_with_areas in ray-casting.rst (#7449)
angadjosan Jun 2, 2023
9056197
Fix canvas_items stretch mode name in Multiple resolutions
Calinou Jun 2, 2023
0b41170
Merge pull request #7457 from Calinou/multiple-resolutions-fix-stretc…
mhilbrunner Jun 2, 2023
2de3798
Merge pull request #7007 from PoolloverNathan/issue/godotengine/7006
mhilbrunner Jun 2, 2023
f9340bd
classref: Sync with current master branch (543750a)
Jun 3, 2023
830c425
Merge pull request #7459 from godotengine/classref/sync-543750a
mhilbrunner Jun 3, 2023
a6dbd57
Typo fix
DeathFuel Jun 4, 2023
7d4f53e
Replace references to interpolate_baked with sample_baked.
nanodeath Jun 4, 2023
6fdf4c8
Merge pull request #7462 from DeathFuel/patch-1
mhilbrunner Jun 4, 2023
d906c0b
Mark cutout_animation as outdated
R3volv360 Jun 5, 2023
d782a51
Document disabling ligatures and/or kerning in Using fonts
Calinou Jun 5, 2023
0a1bd87
Document `-j auto` in Building the manual
Calinou Jun 5, 2023
27e7f84
Add page about using global classes in C# (#6740)
raulsntos Jun 6, 2023
d10f7be
Merge pull request #7474 from Calinou/building-j-auto
mhilbrunner Jun 6, 2023
2eba49b
Merge pull request #7473 from Calinou/using-fonts-disable-ligatures
mhilbrunner Jun 6, 2023
d85a802
Remove note for looping videostreamplayer
kinami-imai Jun 6, 2023
20bfc52
Document EMJC bitmap compression not being supported in Using fonts
Calinou Jun 7, 2023
5a0916e
Merge pull request #7481 from Calinou/using-fonts-emoji-limitations
mhilbrunner Jun 7, 2023
43f9406
Update threading code examples to use new syntax
bitsawer Jun 7, 2023
a2fd3fd
SCU (single compilation unit) build docs
lawnjelly Jun 6, 2023
cfaa7c7
Merge pull request #7478 from lawnjelly/scu_build_master
akien-mga Jun 8, 2023
46bb76b
Merge pull request #7479 from kinami-imai/seamless-video-loop-docs
mhilbrunner Jun 9, 2023
808d100
Merge pull request #7483 from bitsawer/update_threading
mhilbrunner Jun 9, 2023
fc62754
Added note near top of license compliance section regarding contribut…
mattchala Jun 9, 2023
7961a18
Fixes typos in GDExtension tutorial
paddy-exe Jun 9, 2023
9704d29
Set godot-cpp branch to 4.0 in GDExtension tutorial
paddy-exe Jun 9, 2023
2327a1f
Merge pull request #7490 from paddy-exe/syntaxfixeees
mhilbrunner Jun 9, 2023
efe99c2
Merge pull request #7491 from paddy-exe/clarify-gdextension-master
mhilbrunner Jun 9, 2023
82b2845
classref: Sync with current master branch (9723077)
Jun 10, 2023
de475c8
Merge pull request #7494 from godotengine/classref/sync-9723077
mhilbrunner Jun 10, 2023
bf16102
Add missing full stop
Skyvastern Jun 10, 2023
4442292
Merge pull request #7496 from Skyvastern/patch-2
mhilbrunner Jun 11, 2023
ac79471
Fix typo in resolution_scaling.rst
AndrewJakubowicz Jun 12, 2023
c076164
Tweak Vector math page (style, links, more notes)
akien-mga May 18, 2023
9939c90
Merge pull request #7501 from AndrewJakubowicz/patch-1
skyace65 Jun 13, 2023
a86f24f
Update spatial_shader.rst
CURR-E Jun 13, 2023
fa8665b
Merge pull request #7486 from akien-mga/math-tweaks
akien-mga Jun 14, 2023
c0da76c
Update multiple_resolutions.rst
atomikf Jun 14, 2023
468b12c
Fix references to XR_ENV_BLEND_MODE_ALPHA_BLEND in openxr_passthrough…
jbarnoud Jun 15, 2023
c9a72d0
Update Tween cheatsheet to add TRANS_SPRING (#7464)
br1trs Jun 15, 2023
45c4250
Tell codespell to ignore the locale code page (#7519)
skyace65 Jun 16, 2023
f050e6b
Minor grammar correction in your_first_3d_shader.rst
Skyvastern Jun 17, 2023
b5c0116
Merge pull request #7531 from Skyvastern/patch-3
skyace65 Jun 18, 2023
1bb987d
Merge pull request #7472 from R3volv360/patch-1
skyace65 Jun 18, 2023
4a33e37
Merge pull request #7513 from atomikf/Small-typo-fix
skyace65 Jun 18, 2023
bf3954e
Merge pull request #7463 from nanodeath/interpolate_baked
skyace65 Jun 19, 2023
e4acd3c
Update instancing.rst (#7493)
pathunstrom Jun 19, 2023
db78a71
Merge pull request #7522 from jbarnoud/patch-1
skyace65 Jun 19, 2023
a187bed
Merge pull request #7510 from CURR-E/Vertex
skyace65 Jun 19, 2023
5c30e12
changed collisionInfo.Normal to collisionInfo.GetNormal()
Surya-Narayan Jun 22, 2023
e24da9a
Merge pull request #7549 from Surya-Narayan/fix-c#-incorrect-example-…
skyace65 Jun 22, 2023
4415f98
Updates to visual_shaders.rst to show new way to create visual shaders
rametta Jun 23, 2023
8d5eeed
Merge pull request #7536 from rametta/patch-1
skyace65 Jun 23, 2023
3e99992
Update navigation different actor types
smix8 Jun 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Linter checks
run: |
bash _tools/format.sh
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt {about,community,development,getting_started,tutorials}/**/*.rst
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,development,getting_started,tutorials}/**/*.rst
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
- name: Sphinx build
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ tmp-unused-images-history

# User created Python virtual environement as described in the docs
godot-docs-venv/

# Jetbrains IDE files
/.idea/
30 changes: 28 additions & 2 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
--copybtn-tooltip-background-color: #24292f;
--copybtn-box-shadow: 0 1px 0 rgba(27,31,36,0.04), inset 0 1px 0 rgba(255,255,255,0.25);
--copybtn-border-color-success: #2da44e;

--contribute-background-color: #d7dee8;
--contribute-text-color: #646e72;

Expand Down Expand Up @@ -1714,7 +1714,7 @@ p + .classref-constant {
left: 3.5px;
top: 3.5px;
color: var(--copybtn-icon-color);
pointer-events: none;
pointer-events: none;
}
.highlight button.copybtn.success {
border-color: var(--copybtn-border-color-success);
Expand All @@ -1729,3 +1729,29 @@ p + .classref-constant {
border-radius: 6px;
padding: 0.5em 0.75em;
}

/* Allow :abbr: tags' content to be displayed on mobile platforms by tapping the word */
@media (hover: none), (hover: on-demand), (-moz-touch-enabled: 1), (pointer:coarse) {
/* Do not enable on desktop platforms to avoid doubling the tooltip */
abbr[title] {
position: relative;
}

abbr[title]:hover::after,
abbr[title]:focus::after {
content: attr(title);

position: absolute;
left: 0;
bottom: -32px;
width: auto;
white-space: nowrap;

background-color: #1e1e1e;
color: #fff;
border-radius: 3px;
box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.4);
font-size: 14px;
padding: 3px 5px;
}
}
19 changes: 0 additions & 19 deletions _tools/codespell-ignore-lines.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
| ba | Bashkir |
| dum | Middle Dutch |
| fo | Faroese |
| fro | Old French |
| inh | Ingush |
| mye | Myene |
| nd | North Ndebele |
| ro | Romanian |
| seh | Sena |
| shs | Shuswap |
| te | Telugu |
| tem | Timne |
| Beng | Bengali |
| Maka | Makasar |
| BA | Bosnia and Herzegovina |
| FO | Faroe Islands |
| MM, BU | Myanmar |
| RO | Romania |
| VN | Viet Nam |
.. image:: img/expres.png
6 changes: 6 additions & 0 deletions about/complying_with_licenses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ distribute the software (and derivative projects, including games made with it).
Your game or project can have a different license, but it still needs to comply
with the original one.

.. note::

This section covers compliance with licenses from a user perspective.
If you are interested in licence compliance as a contributor, you can find
guidelines :ref:`here <doc_best_practices_for_engine_contributors_license_compliance>`.

.. warning::

In your project's credits screen, remember to also list third-party notices
Expand Down
2 changes: 1 addition & 1 deletion about/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ This documentation is organized into several sections:
engine to make games. It starts with the :ref:`Step by step
<toc-learn-step_by_step>` tutorial which should be the entry point for all
new users. **This is the best place to start if you're new!**
- The **Manual** can be read or referenced as needed,
- The **Manual** can be read or referenced as needed,
in any order. It contains feature-specific tutorials and documentation.
- **Contributing** gives information related to contributing to
Godot, whether to the core engine, documentation, demos or other parts.
Expand Down
52 changes: 43 additions & 9 deletions classes/class_@gdscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@GDScript
=========

Built-in GDScript functions.
Built-in GDScript constants, functions, and annotations.

.. rst-class:: classref-introduction-group

Expand Down Expand Up @@ -109,7 +109,7 @@ Positive floating-point infinity. This is the result of floating-point division

**NAN** = ``nan``

"Not a Number", an invalid floating-point value. :ref:`NAN<class_@GDScript_constant_NAN>` has special properties, including that it is not equal to itself (``NAN == NAN`` returns ``false``). It is output by some invalid operations, such as dividing floating-point ``0.0`` by ``0.0``.
"Not a Number", an invalid floating-point value. :ref:`NAN<class_@GDScript_constant_NAN>` has special properties, including that ``!=`` always returns ``true``, while other comparison operators always return ``false``. This is true even when comparing with itself (``NAN == NAN`` returns ``false`` and ``NAN != NAN`` returns ``true``). It is returned by some invalid operations, such as dividing floating-point ``0.0`` by ``0.0``.

\ **Warning:** "Not a Number" is only a concept with floating-point numbers, and has no equivalent for integers. Dividing an integer ``0`` by ``0`` will not result in :ref:`NAN<class_@GDScript_constant_NAN>` and will result in a run-time error instead.

Expand All @@ -133,7 +133,7 @@ Mark the following property as exported (editable in the Inspector dock and save
@export var string = ""
@export var int_number = 5
@export var float_number: float = 5
@export var image : Image
@export var image: Image

.. rst-class:: classref-item-separator

Expand Down Expand Up @@ -173,7 +173,7 @@ See also :ref:`@GlobalScope.PROPERTY_HINT_COLOR_NO_ALPHA<class_@GlobalScope_cons

::

@export_color_no_alpha var dye_color : Color
@export_color_no_alpha var dye_color: Color

.. rst-class:: classref-item-separator

Expand Down Expand Up @@ -418,6 +418,24 @@ See also :ref:`@GlobalScope.PROPERTY_HINT_LAYERS_3D_RENDER<class_@GlobalScope_co

----

.. _class_@GDScript_annotation_@export_flags_avoidance:

.. rst-class:: classref-annotation

**@export_flags_avoidance** **(** **)**

Export an integer property as a bit flag field for navigation avoidance layers. The widget in the Inspector dock will use the layer names defined in :ref:`ProjectSettings.layer_names/avoidance/layer_1<class_ProjectSettings_property_layer_names/avoidance/layer_1>`.

See also :ref:`@GlobalScope.PROPERTY_HINT_LAYERS_AVOIDANCE<class_@GlobalScope_constant_PROPERTY_HINT_LAYERS_AVOIDANCE>`.

::

@export_flags_avoidance var avoidance_layers: int

.. rst-class:: classref-item-separator

----

.. _class_@GDScript_annotation_@export_global_dir:

.. rst-class:: classref-annotation
Expand Down Expand Up @@ -465,7 +483,7 @@ See also :ref:`@GlobalScope.PROPERTY_HINT_GLOBAL_FILE<class_@GlobalScope_constan

Define a new group for the following exported properties. This helps to organize properties in the Inspector dock. Groups can be added with an optional ``prefix``, which would make group to only consider properties that have this prefix. The grouping will break on the first property that doesn't have a prefix. The prefix is also removed from the property's name in the Inspector dock.

If no ``prefix`` is provided, the every following property is added to the group. The group ends when then next group or category is defined. You can also force end a group by using this annotation with empty strings for parameters, ``@export_group("", "")``.
If no ``prefix`` is provided, then every following property will be added to the group. The group ends when then next group or category is defined. You can also force end a group by using this annotation with empty strings for parameters, ``@export_group("", "")``.

Groups cannot be nested, use :ref:`@export_subgroup<class_@GDScript_annotation_@export_subgroup>` to add subgroups within groups.

Expand Down Expand Up @@ -662,6 +680,18 @@ The order of ``mode``, ``sync`` and ``transfer_mode`` does not matter and all ar

----

.. _class_@GDScript_annotation_@static_unload:

.. rst-class:: classref-annotation

**@static_unload** **(** **)**

Make a script with static variables to not persist after all references are lost. If the script is loaded again the static variables will revert to their default values.

.. rst-class:: classref-item-separator

----

.. _class_@GDScript_annotation_@tool:

.. rst-class:: classref-annotation
Expand Down Expand Up @@ -712,14 +742,16 @@ Method Descriptions

:ref:`Color<class_Color>` **Color8** **(** :ref:`int<class_int>` r8, :ref:`int<class_int>` g8, :ref:`int<class_int>` b8, :ref:`int<class_int>` a8=255 **)**

Returns a :ref:`Color<class_Color>` constructed from red (``r8``), green (``g8``), blue (``b8``), and optionally alpha (``a8``) integer channels, each divided by ``255.0`` for their final value.
Returns a :ref:`Color<class_Color>` constructed from red (``r8``), green (``g8``), blue (``b8``), and optionally alpha (``a8``) integer channels, each divided by ``255.0`` for their final value. Using :ref:`Color8<class_@GDScript_method_Color8>` instead of the standard :ref:`Color<class_Color>` constructor is useful when you need to match exact color values in an :ref:`Image<class_Image>`.

::

var red = Color8(255, 0, 0) # Same as Color(1, 0, 0).
var dark_blue = Color8(0, 0, 51) # Same as Color(0, 0, 0.2).
var my_color = Color8(306, 255, 0, 102) # Same as Color(1.2, 1, 0, 0.4).

\ **Note:** Due to the lower precision of :ref:`Color8<class_@GDScript_method_Color8>` compared to the standard :ref:`Color<class_Color>` constructor, a color created with :ref:`Color8<class_@GDScript_method_Color8>` will generally not be equal to the same color created with the standard :ref:`Color<class_Color>` constructor. Use :ref:`Color.is_equal_approx<class_Color_method_is_equal_approx>` for comparisons to avoid issues with floating-point precision error.

.. rst-class:: classref-item-separator

----
Expand Down Expand Up @@ -887,7 +919,7 @@ Examples:
print(is_instance_of(a, MyClass))
print(is_instance_of(a, MyClass.InnerClass))

\ **Note:** If ``value`` and/or ``type`` are freed objects (see :ref:`@GlobalScope.is_instance_valid<class_@GlobalScope_method_is_instance_valid>`), or ``type`` is not one of the above options, this method will raise an runtime error.
\ **Note:** If ``value`` and/or ``type`` are freed objects (see :ref:`@GlobalScope.is_instance_valid<class_@GlobalScope_method_is_instance_valid>`), or ``type`` is not one of the above options, this method will raise a runtime error.

See also :ref:`@GlobalScope.typeof<class_@GlobalScope_method_typeof>`, :ref:`type_exists<class_@GDScript_method_type_exists>`, :ref:`Array.is_same_typed<class_Array_method_is_same_typed>` (and other :ref:`Array<class_Array>` methods).

Expand Down Expand Up @@ -936,6 +968,8 @@ This function is a simplified version of :ref:`ResourceLoader.load<class_Resourc

\ **Note:** Files have to be imported into the engine first to load them using this function. If you want to load :ref:`Image<class_Image>`\ s at run-time, you may use :ref:`Image.load<class_Image_method_load>`. If you want to import audio files, you can use the snippet described in :ref:`AudioStreamMP3.data<class_AudioStreamMP3_property_data>`.

\ **Note:** If :ref:`ProjectSettings.editor/export/convert_text_resources_to_binary<class_ProjectSettings_property_editor/export/convert_text_resources_to_binary>` is ``true``, :ref:`load<class_@GDScript_method_load>` will not be able to read converted files in an exported project. If you rely on run-time loading of files present within the PCK, set :ref:`ProjectSettings.editor/export/convert_text_resources_to_binary<class_ProjectSettings_property_editor/export/convert_text_resources_to_binary>` to ``false``.

.. rst-class:: classref-item-separator

----
Expand Down Expand Up @@ -1034,8 +1068,8 @@ To iterate over an :ref:`Array<class_Array>` backwards, use:
::

var array = [3, 6, 9]
for i in range(array.size(), 0, -1):
print(array[i - 1])
for i in range(array.size() - 1, -1, -1):
print(array[i])

Output:

Expand Down
Loading