Commit Graph

221 Commits

Author SHA1 Message Date
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
Danil Alexeev
519b8acd85 Explain draw_line and draw_rect coordinates 2023-01-16 22:41:06 +03:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Yuri Sizov
6b9ec31b0a Fix reported formatting issues and property references 2022-12-27 21:25:42 +03:00
Hugo Locurcio
4431a725fe Update the 2D lights and shadows page for Godot 4.0 (#6424) 2022-12-17 19:23:34 +01:00
Chris Bradfield
2f904cd216 Updated "2D movement overview" (#6423)
* Update tutorials/2d/2d_movement.rst

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2022-11-25 17:38:59 -08:00
Rémi Verschelde
87c99fe379 Merge pull request #6267 from Calinou/add-antialiasing-docs
Add documentation pages on 2D and 3D antialiasing
2022-11-17 21:01:02 +01:00
LL3006
86d4a70de7 Replace update() with queue_redraw() in Custom drawing in 2D (#6350) 2022-10-31 03:17:00 +01:00
Hugo Locurcio
048f5e575b Add documentation pages on 2D and 3D antialiasing 2022-10-23 19:48:24 +02:00
Max Hilbrunner
b82cd0690d A bunch of renames for Godot 4.0 2022-10-15 18:19:12 +02:00
Max Hilbrunner
024fedb0f3 Kinematic -> Character 2022-10-15 17:55:24 +02:00
TheYellowArchitect
db84cc7068 [2D Light and Shadows Tutorial] Replaced Light2D with PointLight2D
It is impossible to instantiate a Light2D node, and a DirectionalLight2D node has no texture (so this tutorial doesn't work with it at all)

Feel free to deny this commit, because I am a newbie and don't know if it was possible to instantiate a Light2D node in 3.x either (if it was possible, the tutorial should stay as is, and this pull request should be closed)
2022-09-28 09:05:59 +00:00
Aaron Franke
da14b8000d Add C# code examples (salvage of VinnNo's PRs) 2022-04-29 08:08:09 -05:00
Hugo Locurcio
9fea836361 Mention antialiasing workaround in Custom drawing in 2D 2022-04-06 19:38:57 +02:00
Rémi Verschelde
5489a3e462 Merge pull request #5440 from timothyqiu/scene-dock 2021-12-21 15:45:29 +01:00
skyace65
c646baeb61 Remove broken link to opengameart 2021-12-15 21:14:12 -05:00
Haoyu Qiu
d1b4cdcbde Fix wrong description about warning icon
Warning icons appear in the scene dock, not inspector.
2021-12-09 19:29:54 +08:00
Rémi Verschelde
9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Umut Seven
ad45ef9288 Add missing period in 2D lights and shadows (#5299) 2021-10-06 00:45:22 +02:00
MeSnek
137dec13b4 Fixed typo "bitmaks" -> "bitmask" in Using TileMaps (#5255) 2021-09-14 17:55:40 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Maxime Lapointe
7cf7442435 Reword intro do custom_drawing_in_2d
The wording felt very off from the other tutorials.
This bring it more in line, using a simple 'Introduction' as first section.
2021-09-06 09:26:29 -04:00
Elephant34
5a702632d9 Update the pixel snap project setting name in Using tileMaps (#5149)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-04 17:20:32 +02:00