fix custom roles typo

This commit is contained in:
Hana - Piralein
2025-08-09 17:17:31 +02:00
parent 84f15cdeb5
commit 2be260e9fb
3 changed files with 6 additions and 6 deletions

View File

@@ -64,12 +64,12 @@ Double-click the ``project.godot`` file to open it.
.. image:: img/instancing_import_project_file.webp .. image:: img/instancing_import_project_file.webp
Finally, click the :button:`Import`` button. Finally, click the :button:`Import` button.
.. image:: img/instancing_import_and_edit_button.webp .. image:: img/instancing_import_and_edit_button.webp
A window notifying you that the project was last opened in an older Godot version A window notifying you that the project was last opened in an older Godot version
may appear, that's not an issue. Click :button:`Ok`` to open the project. may appear, that's not an issue. Click :button:`Ok` to open the project.
The project contains two packed scenes: ``main.tscn``, containing walls against The project contains two packed scenes: ``main.tscn``, containing walls against
which the ball collides, and ``ball.tscn``. The Main scene should open which the ball collides, and ``ball.tscn``. The Main scene should open
@@ -132,7 +132,7 @@ Let's try this. Double-click ``ball.tscn`` in the FileSystem to open it.
.. image:: img/instancing_ball_scene_open.webp .. image:: img/instancing_ball_scene_open.webp
In the Scene dock on the left, select the Ball node. Then, in the :ui:`Inspector` on the In the Scene dock on the left, select the Ball node. Then, in the :ui:`Inspector` on the
right, click on the :inspector:`PhysicsMaterial`` property to expand it. right, click on the :inspector:`PhysicsMaterial` property to expand it.
.. image:: img/instancing_physics_material_expand.webp .. image:: img/instancing_physics_material_expand.webp
@@ -172,7 +172,7 @@ Rerun the game and notice how this ball now falls much faster than the others.
of the ball. This is because :inspector:`PhysicsMaterial` is a *resource*, and needs of the ball. This is because :inspector:`PhysicsMaterial` is a *resource*, and needs
to be made unique before you can edit it in a scene that is linking to its to be made unique before you can edit it in a scene that is linking to its
original scene. To make a resource unique for one instance, right-click on original scene. To make a resource unique for one instance, right-click on
the :inspector:`Physics Material` property in the :ui:`Inspector`` and click :button:`Make Unique`` the :inspector:`Physics Material` property in the :ui:`Inspector` and click :button:`Make Unique`
in the context menu. in the context menu.
Resources are another essential building block of Godot games we will cover Resources are another essential building block of Godot games we will cover

View File

@@ -72,7 +72,7 @@ opening the project, you should see an empty editor.
.. image:: img/nodes_and_scenes_01_empty_editor.webp .. image:: img/nodes_and_scenes_01_empty_editor.webp
In an empty scene, the :ui:`Scene`` dock on the left shows several options to add a In an empty scene, the :ui:`Scene` dock on the left shows several options to add a
root node quickly. :button:`2D Scene` adds a :ref:`Node2D <class_Node2D>` node, root node quickly. :button:`2D Scene` adds a :ref:`Node2D <class_Node2D>` node,
:button:`3D Scene` adds a :ref:`Node3D <class_Node3D>` node, :button:`3D Scene` adds a :ref:`Node3D <class_Node3D>` node,
and :button:`User Interface` adds a :ref:`Control <class_Control>` node. and :button:`User Interface` adds a :ref:`Control <class_Control>` node.

View File

@@ -62,7 +62,7 @@ Create a new scene by going to the menu :menu:`Scene > New Scene`.
.. image:: img/signals_01_new_scene.webp .. image:: img/signals_01_new_scene.webp
In the Scene dock, click the :button:`2D Scene`` button. This will add In the Scene dock, click the :button:`2D Scene` button. This will add
a :ref:`Node2D <class_Node2D>` as our root. a :ref:`Node2D <class_Node2D>` as our root.
.. image:: img/signals_02_2d_scene.webp .. image:: img/signals_02_2d_scene.webp