Parcourir la source

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 il y a 2 ans
Parent
commit
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
 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
           :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
 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
           :ref:`RigidBody2D <class_RigidBody2D>`. The animation will still be

BIN
tutorials/2d/img/2d_animation_tree1.png


BIN
tutorials/2d/img/2d_animation_tree1.webp


BIN
tutorials/2d/img/2d_animation_tree2.png


BIN
tutorials/2d/img/2d_animation_tree2.webp