Commit Graph

9433 Commits

Author SHA1 Message Date
Hugo Locurcio
36bb7e5ac5 Document expression evaluator in Debugger panel 2024-10-05 00:35:05 +02:00
Brian Huynh
67e37b547c 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:30:24 +02:00
Hugo Locurcio
8af700e841 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:26:32 +02:00
Max Hilbrunner
be73f38b3f Merge pull request #9908 from Calinou/file-paths-string-methods
Document file path String methods in File paths in Godot projects
2024-10-04 03:17:40 +02:00
Max Hilbrunner
c1c018f117 Merge pull request #9838 from markdibarry/update-split-screen
Update Parallax Split Screen Details
2024-10-04 03:16:54 +02:00
Max Hilbrunner
d7f9b19fce Merge pull request #10037 from KleidonBD/patch-2
Fix "some times" typo
2024-10-04 03:11:07 +02:00
Kleidon
cde678c53b 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-03 18:46:30 -06:00
Max Hilbrunner
a0a61dcc09 Merge pull request #10032 from Calinou/instancing-physicsmaterial-unique
Tweak note about making Physics Material unique in Creating instances
2024-10-02 20:30:17 +02:00
Hugo Locurcio
a9a2cd1a20 Tweak note about making Physics Material unique in Creating instances 2024-10-02 16:39:21 +02:00
Matthew
4a5dc31317 Merge pull request #10026 from Rooni/patch-2
Fix indentation on mouse_and_input_coordinates.rst
2024-10-02 07:47:10 -04:00
Max Hilbrunner
c1ddab8af9 Merge pull request #10023 from skyace65/Tutorial-Links
Remove individual youtube channel links from tutorials page
2024-10-02 11:20:20 +02:00
skyace65
88782e0ca4 Remove individual youtube channel links from tutorials page 2024-10-01 21:07:08 -04:00
Rooni
2bc63a080c 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-01 21:38:43 +02:00
Max Hilbrunner
5d7703eabc Merge pull request #10001 from Calinou/high-level-multiplayer-clarify-authority
Clarify "authority" in High-level multiplayer
2024-10-01 13:37:12 +02:00
Max Hilbrunner
98b1864d21 Merge pull request #10024 from KleidonBD/patch-1
Add missing word, "is"
2024-10-01 10:00:21 +02:00
Kleidon
bfdc74009f 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-09-30 18:35:45 -06:00
Hugo Locurcio
fd241c74cb Clarify "authority" in High-level multiplayer 2024-09-30 22:01:18 +02:00
Matthew
e82044775b Merge pull request #10014 from KleidonBD/patch-1
Remove "°" symbol redundancy.
2024-09-28 17:10:02 -04:00
Matthew
6010454a38 Merge pull request #9947 from Repiteo/warning-admonition
Add `WARNING:` to list of admonitions
2024-09-28 11:03:04 -04:00
Max Hilbrunner
c689e0e618 Merge pull request #9996 from Ivorforce/patch-2
Fix kbd description in gdextension docs system.
2024-09-28 14:12:08 +02:00
Max Hilbrunner
822e491a36 Merge pull request #9990 from allenwp/6651-remove-gdscript-examples
Remove unnecessary examples of GDScript usage.
2024-09-28 14:10:17 +02:00
Max Hilbrunner
22f05a4910 Merge pull request #10015 from godotengine/classref/sync-76a1359
classref: Sync with current master branch (76a1359)
2024-09-28 13:33:17 +02:00
Max Hilbrunner
ddb3df40c8 Merge pull request #9989 from tetrapod00/sidebar
Fix unreachable pages in sidebar by using fake headers in index pages
2024-09-28 13:32:11 +02:00
Godot Organization
28d9cb75e9 classref: Sync with current master branch (76a1359) 2024-09-28 03:21:12 +00:00
Kleidon
8033ac1d4d Remove "°" symbol redundancy.
The phrase, "90° degrees", is redundant because the "°" already means "degrees". It should instead be "90 degrees".
2024-09-27 20:42:37 -06:00
Matthew
f16608e044 Merge pull request #10006 from junwan-park/gdscript-basics-fix-builtin-types
Fix builtin_types link in tutorial gdscript_basics page
2024-09-27 09:40:14 -04:00
Lukas Tenbrink
252b2fd47e Fix kbd description in gdextension docs system. 2024-09-26 22:27:09 +02:00
Junwan Park
e01a998069 Fix builtin_types link in tutorial gdscript_basics page
It's linked to a wrong position.
2024-09-27 01:43:04 +09:00
Matthew
41bb40b780 Merge pull request #9746 from tetrapod00/spatial-style-pass
Style consistency pass on Spatial, Fog, CanvasItem, Sky, Particle shader pages
2024-09-25 22:32:32 -04:00
Max Hilbrunner
617b919c16 Merge pull request #9994 from smix8/tilemap_reordering
Add subsection for TileMap layer reordering
2024-09-24 17:24:52 +02:00
smix8
6487756b28 Add subsection for TileMap layer reordering
Adds subsection for TileMap layer reordering.
2024-09-24 10:32:01 +02:00
Matthew
38c80786f0 Merge pull request #9992 from Calinou/gdscript-style-guide-fix-code-order
Fix Code order section saying it's the first section in GDScript style guide
2024-09-23 21:54:28 -04:00
Hugo Locurcio
960125f576 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-09-23 23:58:39 +02:00
Max Hilbrunner
2d1765d285 Merge pull request #9991 from tetrapod00/export-export-export
Add disambiguation to Export, linking to GDScript/C# exports
2024-09-23 21:30:27 +02:00
tetrapod00
77756c9ad0 Add disambiguation to Export, linking to GDScript/C# exports 2024-09-23 10:58:51 -07:00
Allen Pestaluky
4ac951fe13 Removed unnecessary examples of GDScript usage.
The new text puts the focus on the most salient reason for using GDScript. The old examples covered almost all cases (every case except for AAA games), which made for awkward wording that was not relevant to most readers. Fixes #6651
2024-09-23 09:53:59 -04:00
tetrapod00
283fe11715 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-09-23 01:32:56 -07:00
K. S. Ernest (iFire) Lee
8e8285b7bd Merge pull request #9985 from tetrapod00/clarify-windows-requirements
Clarify requirements in Compiling for Windows
2024-09-22 15:43:08 -07:00
tetrapod00
eb4ab3a78e Clarify requirements in Compiling for Windows 2024-09-21 21:48:59 -07:00
Max Hilbrunner
69ceee8e64 Merge pull request #9982 from andyprice/space_spacing
Fix duplicate "glyph_spacing" in bbcode docs
2024-09-21 20:31:54 +02:00
A Thousand Ships
936b6488ed Merge pull request #9981 from godotengine/classref/sync-621cadc
classref: Sync with current master branch (621cadc)
2024-09-21 17:19:21 +02:00
Andrew Price
68a83880e5 Fix duplicate "glyph_spacing" in bbcode docs
The correct name for the space spacing option is space_spacing.
2024-09-21 13:10:38 +01:00
Godot Organization
0cf8e77ea9 classref: Sync with current master branch (621cadc) 2024-09-21 03:20:40 +00:00
tetrapod00
4e02ee375a Standardize style within spatial_shader.rst, etc 2024-09-20 12:36:09 -07:00
Max Hilbrunner
65177ea7d9 Merge pull request #9977 from smix8/navmesh_parse_groups
Add hint that navmesh geometry nodes can be parsed by groupname
2024-09-20 03:45:04 +02:00
Max Hilbrunner
1c55e7b4b2 Merge pull request #9978 from jirisvd/fix-typos
Fix typo in FAQ
2024-09-20 03:44:40 +02:00
Jiří Švejda
261c9de4c5 Fix typo in FAQ 2024-09-19 22:13:18 +02:00
smix8
f28b7eca81 Add hint that navmesh geometry nodes can be parsed by groupname
Adds hint that navmesh geometry nodes can be parsed by groupname.
2024-09-19 19:21:57 +02:00
Max Hilbrunner
468b7edcb7 Merge pull request #9976 from Calinou/first-2d-game-finishing-up-export
Link to Exporting projects in Finishing up page of Your first 2D game
2024-09-19 14:56:54 +02:00
Max Hilbrunner
b64284d901 Merge pull request #9975 from Calinou/gdnative-cpp-fix-register-class-macro
Fix outdated reference to `register_class` function in GDExtension C++ example
2024-09-19 14:54:03 +02:00