Skip to content

Commit 4779a1d

Browse files
author
Godot Organization
committed
classref: Sync with current master branch (029aade)
1 parent 774c3cd commit 4779a1d

File tree

208 files changed

+1532
-1218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+1532
-1218
lines changed

classes/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ Returns a :ref:`Resource<class_Resource>` from the filesystem located at the abs
10701070
# Load a scene called "main" located in the root of the project directory and cache it in a variable.
10711071
var main = load("res://main.tscn") # main will contain a PackedScene resource.
10721072

1073-
\ **Important:** The path must be absolute. A relative path will always return ``null``.
1073+
\ **Important:** Relative paths are *not* relative to the script calling this method, instead it is prefixed with ``"res://"``. Loading from relative paths might not work as expected.
10741074

10751075
This function is a simplified version of :ref:`ResourceLoader.load<class_ResourceLoader_method_load>`, which can be used for more advanced scenarios.
10761076

classes/[email protected]

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5715,7 +5715,7 @@ Converts an angle expressed in degrees to radians.
57155715

57165716
Returns an "eased" value of ``x`` based on an easing function defined with ``curve``. This easing function is based on an exponent. The ``curve`` can be any floating-point number, with specific values leading to the following behaviors:
57175717

5718-
::
5718+
.. code:: text
57195719
57205720
- Lower than -1.0 (exclusive): Ease in-out
57215721
- 1.0: Linear
@@ -5856,9 +5856,9 @@ Returns the floating-point modulus of ``x`` divided by ``y``, wrapping equally i
58565856
var x = i * 0.5 - 1.5
58575857
print("%4.1f %4.1f | %4.1f" % [x, fmod(x, 1.5), fposmod(x, 1.5)])
58585858

5859-
Produces:
5859+
Prints:
58605860

5861-
::
5861+
.. code:: text
58625862
58635863
(x) (fmod(x, 1.5)) (fposmod(x, 1.5))
58645864
-1.5 -0.0 | 0.0
@@ -6374,9 +6374,9 @@ Returns the integer modulus of ``x`` divided by ``y`` that wraps equally in posi
63746374
for i in range(-3, 4):
63756375
print("%2d %2d | %2d" % [i, i % 3, posmod(i, 3)])
63766376

6377-
Produces:
6377+
Prints:
63786378

6379-
::
6379+
.. code:: text
63806380
63816381
(i) (i % 3) (posmod(i, 3))
63826382
-3 0 | 0
@@ -6523,6 +6523,8 @@ Prints one or more arguments to strings in the best way possible to standard err
65236523

65246524
Prints one or more arguments to strings in the best way possible to the OS terminal. Unlike :ref:`print<class_@GlobalScope_method_print>`, no newline is automatically added at the end.
65256525

6526+
\ **Note:** The OS terminal is *not* the same as the editor's Output dock. The output sent to the OS terminal can be seen when running Godot from a terminal. On Windows, this requires using the ``console.exe`` executable.
6527+
65266528

65276529
.. tabs::
65286530

@@ -7396,7 +7398,7 @@ Converts a :ref:`Variant<class_Variant>` ``variable`` to a formatted :ref:`Strin
73967398

73977399
Prints:
73987400

7399-
::
7401+
.. code:: text
74007402
74017403
{
74027404
"a": 1,

classes/class_animatablebody3d.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ When **AnimatableBody3D** is moved, its linear and angular velocity are estimate
2828
Tutorials
2929
---------
3030

31-
- `3D Physics Tests Demo <https://godotengine.org/asset-library/asset/675>`__
31+
- `3D Physics Tests Demo <https://godotengine.org/asset-library/asset/2747>`__
3232

33-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
33+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
3434

35-
- `3D Voxel Demo <https://godotengine.org/asset-library/asset/676>`__
35+
- `3D Voxel Demo <https://godotengine.org/asset-library/asset/2755>`__
3636

3737
.. rst-class:: classref-reftable-group
3838

classes/class_animatedsprite2d.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Tutorials
2828

2929
- :doc:`2D Sprite animation <../tutorials/2d/2d_sprite_animation>`
3030

31-
- `2D Dodge The Creeps Demo <https://godotengine.org/asset-library/asset/515>`__
31+
- `2D Dodge The Creeps Demo <https://godotengine.org/asset-library/asset/2712>`__
3232

3333
.. rst-class:: classref-reftable-group
3434

classes/class_animationnodeadd3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Tutorials
3838

3939
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
4040

41-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
41+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
4242

4343
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
4444
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`

classes/class_animationnodeanimation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Tutorials
2828

2929
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
3030

31-
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/125>`__
31+
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/2748>`__
3232

33-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
33+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
3434

3535
.. rst-class:: classref-reftable-group
3636

classes/class_animationnodeblend2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Tutorials
3030

3131
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
3232

33-
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/125>`__
33+
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/2748>`__
3434

35-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
35+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
3636

3737
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
3838
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`

classes/class_animationnodeblendspace2d.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Tutorials
3232

3333
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
3434

35-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
35+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
3636

3737
.. rst-class:: classref-reftable-group
3838

classes/class_animationnodeoneshot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Tutorials
7979

8080
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
8181

82-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
82+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
8383

8484
.. rst-class:: classref-reftable-group
8585

classes/class_animationnodeoutput.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Tutorials
2828

2929
- :doc:`Using AnimationTree <../tutorials/animation/animation_tree>`
3030

31-
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/125>`__
31+
- `3D Platformer Demo <https://godotengine.org/asset-library/asset/2748>`__
3232

33-
- `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
33+
- `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
3434

3535
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
3636
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`

0 commit comments

Comments
 (0)