Skip to content

Commit bfef9c6

Browse files
authored
Merge pull request #11689 from carlosm00/getting-started-2d-CharacterBody2D-clarification
Add note for Area2D usage over CharacterBody2D
1 parent bc59e55 commit bfef9c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

getting_started/first_2d_game/02.player_scene.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ rule, a scene's root node should reflect the object's desired functionality -
1818
what the object *is*. In the upper-left corner, in the "Scene" tab, click the
1919
"Other Node" button and add an :ref:`Area2D <class_Area2D>` node to the scene.
2020

21+
.. note::
22+
23+
Godot also provides the :ref:`CharacterBody2D <class_CharacterBody2D>` node,
24+
specifically designed for 2D characters, which includes built-in support for some
25+
of the processes explained in this tutorial. In many real world projects, CharacterBody2D
26+
would be a better choice for players and enemies. However, this tutorial focuses on
27+
core concepts that apply to a wider range of nodes and use cases.
28+
2129
.. image:: img/add_node.webp
2230

2331
When you add the ``Area2D`` node, Godot will display the following **warning icon**

0 commit comments

Comments
 (0)