Skip to content

Commit af36bb6

Browse files
authored
Merge pull request #10525 from skyace65/PhysicsIntroduction
Update Physics introduction images
2 parents 523369f + 385e1a3 commit af36bb6

9 files changed

+5
-5
lines changed
-25.4 KB
Binary file not shown.
16.4 KB
Binary file not shown.
-4.04 KB
Binary file not shown.
Binary file not shown.
-3.52 KB
Binary file not shown.
Binary file not shown.
-3.79 KB
Binary file not shown.
3.03 KB
Binary file not shown.

tutorials/physics/physics_introduction.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ These nodes allow you to draw the shape directly in the editor workspace.
7878
the ``Node2D`` scale handles. Scaling a shape can result in unexpected
7979
collision behavior.
8080

81-
.. image:: img/player_coll_shape.png
81+
.. image:: img/player_coll_shape.webp
8282

8383
Physics process callback
8484
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -132,9 +132,9 @@ These properties can be configured via code, or by editing them in the Inspector
132132

133133
Keeping track of what you're using each layer for can be difficult, so you
134134
may find it useful to assign names to the layers you're using. Names can
135-
be assigned in **Project Settings > Layer Names**.
135+
be assigned in **Project Settings > Layer Names > 2D Physics**.
136136

137-
.. image:: img/physics_layer_names.png
137+
.. image:: img/physics_layer_names.webp
138138

139139
GUI example
140140
^^^^^^^^^^^
@@ -149,8 +149,8 @@ place each node type in its respective layer using the "Layer" property.
149149
Then set each node's "Mask" property by selecting the layers it should
150150
interact with. For example, the Player's settings would look like this:
151151

152-
.. image:: img/player_collision_layers.png
153-
.. image:: img/player_collision_mask.png
152+
.. image:: img/player_collision_layers.webp
153+
.. image:: img/player_collision_mask.webp
154154

155155
.. _doc_physics_introduction_collision_layer_code_example:
156156

0 commit comments

Comments
 (0)