瀏覽代碼

update animation tree images (#7030)

* update animation tree iamges

these animation trees used the "KinematicBody2D" node which has been
replaced in Godot4 with the CharacterBody2D node. These images have been
updated accordingly
Kutub Gandhi 2 年之前
父節點
當前提交
4ef67098a3

+ 2 - 2
tutorials/2d/2d_sprite_animation.rst

@@ -33,7 +33,7 @@ You can download the images here:
 Unzip the images and place them in your project folder. Set up your scene tree
 Unzip the images and place them in your project folder. Set up your scene tree
 with the following nodes:
 with the following nodes:
 
 
-.. image:: img/2d_animation_tree1.png
+.. image:: img/2d_animation_tree1.webp
 
 
 .. note:: The root node could also be :ref:`Area2D <class_Area2D>` or
 .. note:: The root node could also be :ref:`Area2D <class_Area2D>` or
           :ref:`RigidBody2D <class_RigidBody2D>`. The animation will still be
           :ref:`RigidBody2D <class_RigidBody2D>`. The animation will still be
@@ -165,7 +165,7 @@ image into your project folder.
 Our goal is to display these images one after another in a loop. Start by
 Our goal is to display these images one after another in a loop. Start by
 setting up your scene tree:
 setting up your scene tree:
 
 
-.. image:: img/2d_animation_tree2.png
+.. image:: img/2d_animation_tree2.webp
 
 
 .. note:: The root node could also be :ref:`Area2D <class_Area2D>` or
 .. note:: The root node could also be :ref:`Area2D <class_Area2D>` or
           :ref:`RigidBody2D <class_RigidBody2D>`. The animation will still be
           :ref:`RigidBody2D <class_RigidBody2D>`. The animation will still be

二進制
tutorials/2d/img/2d_animation_tree1.png


二進制
tutorials/2d/img/2d_animation_tree1.webp


二進制
tutorials/2d/img/2d_animation_tree2.png


二進制
tutorials/2d/img/2d_animation_tree2.webp