Commit Graph

4114 Commits

Author SHA1 Message Date
tetrapod00
d651092a27 Update list of debugging settings 2024-11-30 07:13:43 +01:00
tetrapod00
e336118dc9 Improve GDScript format strings tutorial
Remove usages of "integral".
Add section on string concatenation.
Improve organization.
Fix incorrect examples.
2024-11-30 07:13:09 +01:00
Kleidon
ea02eb44b5 Fix "or_greater"/"or_less" code example
The code example demonstrating the usage of the "or_greater" and "or_less" hints for the export_range annotation does not declare a variable after the annotation, which is inconsistent with the previous three code examples in the section.
Also, giving the export_range a step of 1 does not create a slider for the property in the editor, like the text suggests, but it instead creates a spin box. The step should be changed to a float so the property can appear as a slider.
2024-11-30 07:12:08 +01:00
Nate Moore
12efc92730 Add spring arm third-person camera tutorial (#10156)
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:11:32 +01:00
Hilderin
d8039bd436 Fix code sample for add_autoload_singleton in plugin
- Add documentation for issue https://github.com/godotengine/godot/issues/68285
2024-11-30 07:10:39 +01:00
tetrapod
ffff2e7afd Link to Getting Started Input tutorial from Input examples page (#10200)
* Link to Getting Started Input tutorial from Input examples page

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-30 07:10:21 +01:00
Flarkk
203c5d7b3e Clarify when fragcoord z is used as depth output 2024-11-30 07:10:05 +01:00
Anish Mishra
9f1060bb4a Add documentation for themed icons (monochrome) 2024-11-30 07:08:23 +01:00
tetrapod00
b71ff5c73d Improve display of rubric fake headers with heading-level option 2024-11-30 07:07:47 +01:00
tetrapod00
9bd08826d5 Improve Customizing the mouse cursor
Link to project settings and enum.
Fix C# example script so it works when pasted.
Improve grammar and formatting.
2024-11-30 07:07:18 +01:00
tetrapod00
51f0d5a3d3 Update documentation changelog for 4.3 2024-11-30 07:06:40 +01:00
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