Commit Graph

4103 Commits

Author SHA1 Message Date
Andrey Solomatin
10ca7b1d8d Made edits to match GDScript code order
Updated gdscript_documentation_comments.rst
2024-11-30 07:06:20 +01:00
tetrapod00
2a9635091d Fix unreachable pages under 3D Particles by using fake headers
Converts all headers in tutorials\3d\particles\index.rst to fake rubric headers.
Note that in this case we can't have any real subheaders on the page due to
the order of the sections.
2024-11-30 07:06:05 +01:00
Anaclecio Brederodes
92aa6f195e Correctly name enum type
Previously the example defined a "MyEnum" enum, but used a "SpellElements" type export. I've changed so it now defines a "SpellElements" enum.
2024-11-30 07:05:19 +01:00
Hugo Locurcio
a5b086aa61 Use negative index for get_child() in Singletons (Autoload) 2024-11-30 07:04:16 +01:00
Hugo Locurcio
df4c27eaa9 Mention callback argument count in The JavaScript bridge singleton 2024-11-30 07:04:01 +01:00
tetrapod00
88601c21e3 Improve GDScript Basics sidebar navigation by changing header levels
Promotes many headers up one level, so they appear in the sidebar.
Removes the redundant Language header, since the whole page is about the language.
2024-11-30 07:03:52 +01:00
Adam Scott
35d4c16ad6 Add Web export file name section 2024-11-30 07:03:41 +01:00
tetrapod00
253baa6c64 Fix unreachable pages in sidebar under C# Diagnostics 2024-11-30 07:02:47 +01:00
Hugo Locurcio
06bc5c0c5e Update URL to Microsoft codesigning guide in Exporting for Windows 2024-11-30 07:02:27 +01:00
ScarfKat
5a3789a85a Typo fix for Interpolation gif description
The original description was backwards. This is a small edit that fixes it.
2024-11-30 07:02:21 +01:00
Daniel Garcia Silva
f1dde510c6 Fix typo "exists" to "exits" 2024-11-30 07:02:14 +01:00
tetrapod00
3813790990 Remove references to Phong and Blinn specular 2024-11-30 07:02:04 +01:00
tetrapod00
14cd3078a3 Remove references to 3.x minor versions
Removes notes about features being introduced in 3.x minor versions. In 4.x, these
details are no longer relevant.
2024-11-30 07:01:03 +01:00
tetrapod00
18a8113082 Remove reference to 3.1 as a minimum version 2024-11-30 07:00:56 +01:00
tetrapod00
698771c14d Fix HDR 2D mention in Upgrading to Godot 4 page
Since Godot 4.2, rendering 2D in HDR is once again possible.
2024-11-30 07:00:48 +01:00
Florent Guiocheau
9af9d35803 Fix shader language matrix row/col convention 2024-11-30 07:00:35 +01:00
tetrapod00
0b495a66b0 Fix docstring written as comment 2024-11-30 07:00:28 +01:00
tetrapod00
fb43d4a7d1 Add link from Rendering to 2D and 3D rendering sections 2024-11-30 07:00:21 +01:00
tetrapod00
73bfde32e1 Add note about flat shading and Grow in Standard Material page 2024-11-30 06:59:45 +01:00
Andreia Gaita
92c3c63623 Add W4 Games to porting support list 2024-11-30 06:59:28 +01:00
tetrapod00
9e89c10703 Clarify section on using the file browser
Add additional context on where the Browse button is located.
Mention the Browse button in the instructions for creating a new project.
2024-11-30 06:58:50 +01:00
Hugo Locurcio
6c43491cc5 Document filename requirements in C# global classes
- Flesh out the introduction.
2024-11-30 06:57:54 +01:00
tetrapod00
f2ea2014c1 Add warning about uninitialized variables in shaders
Adds a warning note to shading_language.rst. GDShader does not
initialize local variables to 0, and an uninitialized local variable can
contain an arbitrary value.
2024-11-30 06:57:38 +01:00
Hugo Locurcio
b5e097d435 Document Variant not being nullable 2024-11-30 06:57:24 +01:00
Hugo Locurcio
c86adb0bda Clarify restrictions on nested array types in Static typing in GDScript 2024-11-30 06:57:06 +01:00
tetrapod00
e06cef2e1f Clarify that the Better Collada addon is unmaintained in 4.x 2024-11-30 06:56:31 +01:00
Aaron Franke
a04b7d9780 Add a note about GDScript format strings in C++ (#10061) 2024-11-30 06:56:03 +01:00
Lukas Tenbrink
ef9d2db714 Add a gdextension online documentation guide. (#9966)
* Add a gdextension online documentation guide.

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2024-11-30 06:55:48 +01:00
Hugo Locurcio
7be942af08 Update Default editor shortcuts for Godot 4.3+ 2024-11-30 06:55:26 +01:00
tetrapod00
fad8412b35 Add 3->4 upgrading information about NDC, light(), and reverse-z 2024-11-30 06:55:12 +01:00
A Thousand Ships
d57d5f894e [GDScript] Clarify initialization of enum values
# Conflicts:
#	tutorials/scripting/gdscript/gdscript_basics.rst
2024-11-30 06:51:33 +01:00
notPelf
8835289fe7 Add info about layer mask exporting to physics_introduction.rst (#10242)
* Update physics_introduction.rst

The docs page for raycasting provides a link to the physics introduction page for how to set a collision mask on a raycast created in code. The physics introduction page does not mention export annotations for exporting a collision mask. This pull request adds a brief bit about exporting layer masks, and links to the export annotation docs.

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-17 11:22:00 +01:00
tetrapod00
5b4c353ee3 Add multiple renderer support to Advanced Postprocessing 2024-11-11 09:41:21 -08:00
Brian Huynh
4318740e6e Add notes on bit depth for ints and floats (#10028)
* Added notes on bit depth for ints and floats

Added a small note about the bit depth of integers and floats in Godot's shading language as it is not explicitly stated anywhere.

The bit depth of integer and floats in GDscript and Godot's shading language are different, which can cause problems with lost precision in calculations when integers are set from GDscript as floats/ints in GDscript are 64 bits instead of 32 bits (the standard in GLSL ES 3.0).

While most are unlikely to run into problems due to this difference in bit depth, it can cause mathematical errors in edge cases. As stated by previous contributors, no error will be thrown if types do not match while setting a shader uniform. This includes GDscript floats being set as Godot shader floats (which may not be intuitive).
2024-10-04 03:57:52 +02:00
Hugo Locurcio
993cd7ef46 Fix incorrect notice about XDG paths working on all platforms in Data paths (#10009)
* Fix incorrect notice about XDG paths working on all platforms in Data paths

They are only effective on Linux/*BSD. (For reference, in most other apps,
it's rare for XDG environment variables to have an effect on other platforms.)

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-10-04 03:57:39 +02:00
Mark DiBarry
8d1f4e27b2 Update split screen details 2024-10-04 03:57:23 +02:00
Hugo Locurcio
725c9d2fb5 Document file path String methods in File paths in Godot projects 2024-10-04 03:57:17 +02:00
Kleidon
48eb9a558f Fix "some times" typo
The space in "some times" is a mistake and should be removed as it should be one word, not two (as can be seen when it is used correctly further down the page at the start of the, "Running one-off scripts using EditorScript" section).
2024-10-04 03:57:10 +02:00
Rooni
bd0c13df5d Fix indentation on mouse_and_input_coordinates.rst
There was a space missing, causing inconsistent indentation and making the code not copy pastable.
2024-10-04 03:56:44 +02:00
Hugo Locurcio
b27c928510 Clarify "authority" in High-level multiplayer 2024-10-04 03:56:18 +02:00
Kleidon
6fac4da09e Add missing word, "is"
The phrase, "This useful for smoothing camera movement..." appears to be missing a word. It should be, "This is useful for smoothing camera movement..." instead.
2024-10-04 03:56:07 +02:00
Hugo Locurcio
8a263cb63f Fix Code order section saying it's the first section in GDScript style guide
It's not the first section of the page anymore.
2024-10-04 03:56:01 +02:00
Hugo Locurcio
697ddf54b0 Fix outdated reference to register_class function in GDExtension C++ example
This was replaced by the `GDREGISTER_CLASS` macro in Godot 4.0.
2024-10-04 03:55:54 +02:00
Hugo Locurcio
9acc481319 Fix outdated get_data() JSON method usage in Saving games
Direct member access is now used in Godot 4.
2024-10-04 03:55:47 +02:00
Kleidon
176503a40c Remove "°" symbol redundancy.
The phrase, "90° degrees", is redundant because the "°" already means "degrees". It should instead be "90 degrees".
2024-10-04 03:55:32 +02:00
tetrapod00
f7e8509a17 Improve sidebar navigation by removing headers
- Ensure most pages are reachable through the sidebar, by removing headers on pages that are mostly indexes.
- This also means that some pages now have navigable headers again.
2024-10-04 03:55:12 +02:00
Lukas Tenbrink
9acbb3ad61 Fix kbd description in gdextension docs system. 2024-10-04 03:54:53 +02:00
Junwan Park
0a5fc87ffb Fix builtin_types link in tutorial gdscript_basics page
It's linked to a wrong position.
2024-10-04 03:54:19 +02:00
smix8
b81d778562 Add subsection for TileMap layer reordering
Adds subsection for TileMap layer reordering.
2024-10-04 03:54:11 +02:00
tetrapod00
bd0da40feb Add documentation for GDScript when statement 2024-10-04 03:53:42 +02:00