Update Physics introduction images

This commit is contained in:
skyace65
2025-01-19 11:58:28 -05:00
parent cb80512416
commit 385e1a370c
9 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -78,7 +78,7 @@ These nodes allow you to draw the shape directly in the editor workspace.
the ``Node2D`` scale handles. Scaling a shape can result in unexpected
collision behavior.
.. image:: img/player_coll_shape.png
.. image:: img/player_coll_shape.webp
Physics process callback
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -132,9 +132,9 @@ These properties can be configured via code, or by editing them in the Inspector
Keeping track of what you're using each layer for can be difficult, so you
may find it useful to assign names to the layers you're using. Names can
be assigned in **Project Settings > Layer Names**.
be assigned in **Project Settings > Layer Names > 2D Physics**.
.. image:: img/physics_layer_names.png
.. image:: img/physics_layer_names.webp
GUI example
^^^^^^^^^^^
@@ -149,8 +149,8 @@ place each node type in its respective layer using the "Layer" property.
Then set each node's "Mask" property by selecting the layers it should
interact with. For example, the Player's settings would look like this:
.. image:: img/player_collision_layers.png
.. image:: img/player_collision_mask.png
.. image:: img/player_collision_layers.webp
.. image:: img/player_collision_mask.webp
.. _doc_physics_introduction_collision_layer_code_example: