Commit Graph

251 Commits

Author SHA1 Message Date
Hugo Locurcio
30da51b4b6 Document physics interpolation not being supported in 2D particles yet 2024-10-04 03:45:42 +02:00
Lukas Fletcher
e4649e89de Update misspelled word in using_tilesets.rst 2024-10-04 03:45:01 +02:00
smix8
48343bebde Add tip and warning about TileMap build-in navigation
Adds a tip to TileMap navigation section that informs users to prefer baking the TileMap navigation.
Also adds a warning that 2D navigation meshes can not overlap.
2024-08-11 22:52:31 +02:00
skyace65
9050e076e7 Update docs for new TileMapLayer node 2024-08-01 07:06:12 -04:00
Mark DiBarry
74240295de Add 2D Parallax documentation page 2024-07-13 14:33:05 -04:00
Jos Valdivia
906fcdbd38 Update using_tilesets.rst (#9378)
* Update using_tilesets.rst

Work around issue causing the guide to be unfollowable[1].

  [1]: https://github.com/godotengine/godot/issues/88440
2024-06-21 06:46:55 -04:00
Mateus Elias
4cba7b060e Update the outdated "Click-and-move" example in the 2D movement tutorial
Update both the GDScript and C# versions of the "Click-and-move" example in the 2D movement tutorial.
2024-05-27 14:43:27 -03:00
C. Peña
4c6e4e7d1e 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.
2024-05-03 15:21:24 -06:00
Austin Almond
10ccdbeabc Fix typo in 2D transform tutorial
Change `screenCord` to `screenCoord`
2024-04-27 23:28:04 -04:00
Hugo Locurcio
95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Jcrespo
2a164ee259 Update custom drawing in 2d to Godot4
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 #4184
Fixes #7521

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-20 16:43:51 +01:00
Anish Patel
7ee9402d8d Update 2d_movement.rst
Fixing typo in C# code sample
2023-11-29 07:56:25 -08: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