This tutorial had 2 main issues: the code wasn't adapted to Godot
4 syntax and API and the suggested tutorial contained information
to workaround the (at the time) non existence of the `draw_arc()`
function.
A general update has been made, keeping the general structure but
changing the example for something more useful and fun
(replicating the godot logo with draw primitives) and an
additional example with a dynamicaly built drawing (dynamic line).
Too many informalities have been removed on the initial paragraph.
Fixed references to Texture instead of Texture2D.
Fixed old style of exporting properties to the editor.
Fixed inconsistencies calling Node2D, myNode2D and customNode2D.
Moved examples to the end of the page, leaving general information
at the top, and completing that info with images and references.
Removed references to an old demo project (Tetris).
Fixes#4184Fixes#7521
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This reduces the size of ZIP downloads for offline reading.
Unused images were found by running `_tools/list-unused-images.sh`.
These images were used in Godot 2.x and 3.x documentation,
but have been replaced by remade images with different names since.
Some of these images were duplicates or not relevant anymore,
so they have been removed entirely. Others have had their links fixed
or added where relevant.
Update "Viewport and canvas transforms" tutorial
- incldue missing Window-transform
- Update graphic to make the distinction between coordinate systems
and transforms mode clear
- Restructure "transform functions" section
- Update functions to new Godot 4 conventions
Create a more detailed page in engine documentation about 2d coordinate
systems and 2d transforms.
* 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
* Added images for AnimatedSprite from spritesheet
Added images to show how to use the AnimatedSprite class with a spritesheet in the tutorial.
* Using AnimatedSprite with a sprite sheet
I updated this tutorial to show how to easily use a sprite sheet with the AnimatedSprite class, including some screen shots. I changed the old wording that makes it sound like you cannot use a sprite sheet with AnimatedSprite. I also changed the wording that makes it sound as if you must choose between using the AnimatedSprite class or the AnimationPlayer, as you can use an AnimationPlayer with an AnimatedSprite.
* Changed wording on proposed update
I changed the wording to remove "easily" and verbs ending in "ing" to meet the doc's writing guidelines.