diff --git a/tutorials/physics/img/kbinstance.png b/tutorials/physics/img/kbinstance.png deleted file mode 100644 index b965f4515..000000000 Binary files a/tutorials/physics/img/kbinstance.png and /dev/null differ diff --git a/tutorials/physics/img/kbinstance.webp b/tutorials/physics/img/kbinstance.webp new file mode 100644 index 000000000..7ee31d6a3 Binary files /dev/null and b/tutorials/physics/img/kbinstance.webp differ diff --git a/tutorials/physics/img/kbradius.png b/tutorials/physics/img/kbradius.png deleted file mode 100644 index 720c47d9f..000000000 Binary files a/tutorials/physics/img/kbradius.png and /dev/null differ diff --git a/tutorials/physics/img/kbradius.webp b/tutorials/physics/img/kbradius.webp new file mode 100644 index 000000000..fab919470 Binary files /dev/null and b/tutorials/physics/img/kbradius.webp differ diff --git a/tutorials/physics/img/kbscene.png b/tutorials/physics/img/kbscene.png deleted file mode 100644 index 91126e838..000000000 Binary files a/tutorials/physics/img/kbscene.png and /dev/null differ diff --git a/tutorials/physics/img/kbscene.webp b/tutorials/physics/img/kbscene.webp new file mode 100644 index 000000000..62c58cce4 Binary files /dev/null and b/tutorials/physics/img/kbscene.webp differ diff --git a/tutorials/physics/kinematic_character_2d.rst b/tutorials/physics/kinematic_character_2d.rst index c1371a02e..e6237ef8b 100644 --- a/tutorials/physics/kinematic_character_2d.rst +++ b/tutorials/physics/kinematic_character_2d.rst @@ -81,14 +81,14 @@ To have something to test, here's the scene (from the tilemap tutorial): We'll be creating a new scene for the character. Use the robot sprite and create a scene like this: -.. image:: img/kbscene.png +.. image:: img/kbscene.webp You'll notice that there's a warning icon next to our CollisionShape2D node; that's because we haven't defined a shape for it. Create a new CircleShape2D in the shape property of CollisionShape2D. Click on to go to the options for it, and set the radius to 30: -.. image:: img/kbradius.png +.. image:: img/kbradius.webp **Note: As mentioned before in the physics tutorial, the physics engine can't handle scale on most types of shapes (only collision polygons, @@ -103,7 +103,7 @@ above should work as a base. Finally, instance that character scene in the tilemap, and make the map scene the main one, so it runs when pressing play. -.. image:: img/kbinstance.png +.. image:: img/kbinstance.webp Moving the kinematic character ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~