243 Commits

Author SHA1 Message Date
C. Peña
e2a8bd7d07 Update 2d_sprite_animation.rst
Corrected the C# code from the example in the 'Controlling the animation' section, fixing the class name used by the generic method GetNode<T>(), as well as the string parameter.

(cherry picked from commit 4c6e4e7d1e)
2024-07-24 21:04:55 +02:00
Matthew
3c4f0257dd Merge pull request #9291 from austin226/patch-1
Fix typo in 2D transform tutorial

(cherry picked from commit a80b88d8c7)
2024-05-07 13:00:13 +02:00
Matthew
ded3f08a0f Merge pull request #7532 from jynus/drawing
Update custom drawing in 2d tutorial to Godot4
2024-01-25 09:55:42 +01:00
Anish Patel
5b38644c78 Update 2d_movement.rst
Fixing typo in C# code sample
2024-01-25 09:37:09 +01:00
Judebert
2e38e7c262 Update Particles2D instructions to convert GPU to CPU (#8525)
* Update Particles2D instructions to convert GPU to CPU
2023-11-24 13:11:07 -05:00
Hugo Locurcio
f9817954c7 Remove unused images
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.
2023-11-13 21:57:19 +01:00
Max Hilbrunner
6981d930f8 Merge pull request #7994 from Helmasko/patch-2
Custom drawing in 2D update gdscript
2023-11-11 03:06:03 +01:00
Hugo Locurcio
071d49a489 Fix various cases of unused images
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.
2023-11-07 18:04:26 +01:00
Hugo Locurcio
3a1ee72d7f Mention support for per-tile rotation in Using TileSets
This also updates screenshots to display the rotation/flip buttons.
2023-11-06 19:17:16 +01:00
Matthew
b1b79a6268 Merge pull request #8303 from Calinou/particle-flipbook-animation-fix-typo
Fix missing word in particle flipbook documentation
2023-10-21 22:31:10 -04:00
Hugo Locurcio
d315332b7c Fix and improve Transpose's description in Using TileSets 2023-10-21 12:25:19 +02:00
Hugo Locurcio
c395eca5af Fix missing word in particle flipbook documentation 2023-10-21 06:06:12 +02:00
Ershn
7cc59d314c Remove doc of a missing feature of the tilemap select tool
Right clicking with the tilemap select tool doesn't remove the
selection so remove the documentation about it.
Document the behavior of the Delete key.
2023-09-26 21:09:41 +09:00
Max Hilbrunner
708dec5950 Merge pull request #7972 from Calinou/particle-flipbook-animation
Document particle flipbook animation in 2D, improve existing 3D flipbook docs
2023-09-22 03:09:29 +02:00
Julio Missart
98d28b3ffe Fix typo in 2d_movement docs (#7980)
change int to float in 2d movement
2023-09-21 20:27:48 -04:00
Helmasko
1b028982bc Update custom_drawing_in_2d.rst 2023-09-22 02:47:23 +03:00
Hugo Locurcio
b68b12ebaa Document particle flipbook animation in 2D, improve existing 3D flipbook docs
- Fix FPS formula which was inverted (it calculated the time per frame).
2023-09-21 00:02:19 +02:00
Max Hilbrunner
7bd6564207 Merge pull request #7683 from curious-broccoli/patch-1 2023-07-22 22:39:55 +02:00
Max Hilbrunner
689277f43f Merge pull request #6277 from Sauermann/fix-transform-2d-update 2023-07-19 21:25:21 +02:00
Markus Sauermann
8111c9125e Update 2D transform tutorial
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.
2023-07-19 19:12:52 +02:00
curious-broccoli
53eb7c8bbb Update using_tilesets.rst
removed broken sentence. I assume this is what the sentence should be
2023-07-18 21:52:14 +02:00
Hugo Locurcio
84af32c43d Fix some articles being incorrectly marked as outdated
These articles were updated for 4.0 and the API hasn't changed in 4.1.
2023-07-10 16:57:04 +02:00
Max Hilbrunner
485116d8a3 Character and typo fixes 2023-05-31 18:07:27 +02:00
Raul Santos
c457ab79ec Update some C# examples
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Max Hilbrunner
0dcaaefac8 Merge pull request #7258 from jynus/issue7247
Update usages of obsolete rad2deg() and deg2rad() in docs
2023-05-01 16:49:18 +02:00
Jcrespo
6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
Hana - Piralein
a61252f021 update images and line breaks 2023-04-28 13:10:54 +02:00
Yuri Sizov
0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +02:00
Peter Anderson
519534ad8d Update canvas_layers.rst 2023-04-17 06:38:27 +00:00
LDouglas23
3ecaaf5f30 Update 2d_lights_and_shadows.rst to fix ref link 2023-04-01 01:03:08 +01:00
VladKopylets
6085dad3ff Fix typo at 2d_movenet.rst 2023-03-23 20:56:28 +02:00
Kutub Gandhi
4ef67098a3 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
2023-03-23 06:10:56 +01:00
Max Hilbrunner
b53e989669 Merge pull request #7012 from jwmcgettigan/onready-patch
Updated instances of onready to @onready.
2023-03-23 04:39:30 +01:00
Max Hilbrunner
29ead33bb3 Update mouse button enum references 2023-03-23 04:16:39 +01:00
Justin McGettigan
7f7042c515 Updated instances of onready to @onready. 2023-03-18 16:06:11 -04:00
Max Hilbrunner
e59b8dd70f Merge pull request #6941 from Calinou/remove-gles2-references
Remove references to removed GLES2 backend
2023-03-13 02:07:08 +01:00
David Hu
4c99ee3843 Fix heading in using_tilesets
Fixed a heading that had a random c at the end
2023-03-11 19:52:32 -05:00
Hugo Locurcio
9286f1b466 Remove references to removed GLES2 backend
- Update FAQ to remove issues resolved in 4.0, and add more advice
  on resolving VRR flicker issues.
2023-03-11 02:55:30 +01:00
Rémi Verschelde
2db1f830b1 Merge pull request #6764 from TokageItLab/fix-outdated-animation
Update outdated animation documents to synchronize them with latest version Godot
2023-03-06 10:26:03 +01:00
B
c01e3f4d8c Fix incorrect images being referenced on Using TileSets (#6880) 2023-03-03 23:14:22 +01:00
Hugo Locurcio
ec2652c648 Update terrain image example in Using TileSets
The previous example was incomplete.
2023-02-27 18:24:40 +01:00
Hugo Locurcio
94af54e869 Update TileSets and TileMaps documentation for Godot 4.0
The documentation was split into two pages, as there are much more
features to cover now.

Co-authored-by: Isaac <isaacwelfare@gmail.com>
2023-02-27 06:05:46 +01:00
Yuri Sizov
d524544e07 Improve naming and organization of some manual articles
HTML5/Web moved to their own subfolder
Global Illumination moved to their own subfolder
UI, IO, Inputs sections titles adjusted
2D, 3D tutorials grouped to improve navigation
2023-02-26 22:50:18 +01:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Hugo Locurcio
81f44d9fae Document the generation source used for SDF in CanvasItem shaders 2023-02-22 21:16:24 +01:00
Silc Renew
278e78030d Update outdated animation documents to synchronize them with latest 2023-02-13 14:19:36 +09:00
Marvin
6fe03f9bfe Small C# fix in the "Arc polygon function" section (#6729) 2023-02-04 19:27:48 +03:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Hugo Locurcio
5045245cf7 Document using additive Sprite2D as a faster alternative in 2D lights and shadows 2023-01-30 21:47:21 +01:00
Danil Alexeev
fa4a21c2db Fix code examples on "Custom drawing in 2D" page 2023-01-27 18:38:15 +03:00