317 Commits

Author SHA1 Message Date
Max Hilbrunner
4010ab4aff Merge pull request #9829 from Calinou/particles-no-physics-interpolation
Document physics interpolation not being supported in 2D particles yet
2024-08-29 21:35:30 +02:00
Lukas Fletcher
b7b2b52c17 Update misspelled word in using_tilesets.rst 2024-08-28 18:55:45 +02:00
Lukas Fletcher
2b222382d9 Second pass of particle_systems_2d.rst update 2024-08-27 18:33:02 +02:00
Lukas Fletcher
35f2fa9682 Update fract delta description in particle_systems_2d.rst 2024-08-27 17:34:50 +02:00
HubbleCommand
8a868a4808 2d movement cs event par
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-26 13:33:38 +02:00
HubbleCommand
59de1556d2 2d movement click cs StringName
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-26 13:28:37 +02:00
Mark DiBarry
bae43feb5c Update split screen details 2024-08-25 13:28:09 -04:00
HubbleCommand
326abe77dd Merge branch 'master' of https://github.com/HubbleCommand/godot-docs 2024-08-25 17:55:22 +02:00
HubbleCommand
a81cc1b223 2d movement click move update cs 2024-08-25 17:55:18 +02:00
HubbleCommand
7154161fb5 2d movement click movement drag corrections
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-25 17:43:19 +02:00
HubbleCommand
5425bf6475 2d movement indent
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-25 17:42:54 +02:00
HubbleCommand
199fb540ef 2d movement explicit drag 2024-08-25 17:16:24 +02:00
HubbleCommand
626d31d002 2d movement click and move
Changed it to use actions instead of the event, like in the sample
2024-08-25 17:10:33 +02:00
Hugo Locurcio
1cb5f0a0b6 Document physics interpolation not being supported in 2D particles yet 2024-08-25 00:51:02 +02:00
Matthew
b54f912c77 Merge pull request #9582 from russellsanborn/comma-before-but
Add commas before "but" throughout documentation
2024-08-15 21:35:04 -04: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
Russell Sanborn
c94407f642 Update tutorials/2d/custom_drawing_in_2d.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-09 13:55:12 -05:00
Russell Sanborn
a3e4e9b0cc Add commas before "but" throughout documentation 2024-07-06 08:41:08 -05: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
Jordan Kloosterman
faac14ae46 Update custom_drawing_in_2d.rst
I fixed an error where the points were being subtracted when they should have been added. 
I noticed this when I messed with the export values for point1.
2024-04-21 22:55:58 -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