Commit Graph
4135 Commits
Author SHA1 Message Date
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 LocurcioandMax Hilbrunner 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
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
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
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
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 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
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
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
smix8 6487756b28 Add subsection for TileMap layer reordering
Adds subsection for TileMap layer reordering.
2024-09-24 10:32:01 +02: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
tetrapod00 77756c9ad0 Add disambiguation to Export, linking to GDScript/C# exports 2024-09-23 10:58:51 -07: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
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
tetrapod00 4e02ee375a Standardize style within spatial_shader.rst, etc 2024-09-20 12:36:09 -07: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
Hugo Locurcio 89508cdc98 Fix outdated reference to register_class function in GDExtension C++ example
This was replaced by the `GDREGISTER_CLASS` macro in Godot 4.0.
2024-09-19 01:33:41 +02:00
Matthew a47a105b60 Merge pull request #9970 from RGDTAB/patch-1
Update demo code in compositor effect tutorial
2024-09-17 22:10:36 -04:00
Matthew 8454524a07 Merge pull request #9967 from Calinou/saving-games-fix-json-data
Fix outdated `get_data()` JSON method usage in Saving games
2024-09-16 21:57:09 -04:00
Raymond DiDonato 856701e560 Update demo code in compositor effect tutorial 2024-09-16 20:55:26 -04:00
Max Hilbrunner 4361f19daf Merge pull request #9963 from ELginas/patch-2
Typo fix in bbcode_in_richtextlabel.rst
2024-09-17 00:21:33 +02:00
Max Hilbrunner 56f766254d Merge pull request #9964 from ELginas/patch-3
Remove unnecessary ` in bbcode_in_richtextlabel.rst
2024-09-17 00:21:08 +02:00
Hugo Locurcio be34108636 Document profiler autostart functionality 2024-09-16 23:33:41 +02:00
Hugo Locurcio 802f5b49c2 Fix outdated get_data() JSON method usage in Saving games
Direct member access is now used in Godot 4.
2024-09-16 23:30:13 +02:00
ELginas 7b9e7dfaed Remove unnecessary ` in bbcode_in_richtextlabel.rst 2024-09-16 18:03:22 +03:00
ELginas 2b34eb658c Typo fix in bbcode_in_richtextlabel.rst 2024-09-16 17:52:28 +03:00
Max Hilbrunner 158b8e9124 Merge pull request #9961 from BreadInvasion/patch-1
Remove not implemented disclaimers for interactive music
2024-09-16 14:36:42 +02:00
Max Hilbrunner 8b43365a63 Merge pull request #9956 from Calinou/bash-syntax-harmonize
Harmonize Bash command syntax for easier line selection and copy-pasting
2024-09-16 14:34:15 +02:00
BreadInvasion 64d25504cd Remove not implemented disclaimers for interactive music 2024-09-15 22:34:55 -05:00
Hugo Locurcio 93261ab5d7 Harmonize Bash command syntax for easier line selection and copy-pasting
- Remove prompt or `$` sign which makes triple-click based selection
  more difficult and time-consuming.
- Use `platform` instead of `p` alias in all SCons examples.
2024-09-15 16:27:34 +02:00
Hugo Locurcio 8f320d5e54 Fix incorrect statement in node_type being case-insensitive in Creating script templates
On case-sensitive filesystems, the case must match the actual node name,
so the folder will most likely need to use uppercase characters in its name
(e.g. `MeshInstance3D`).
2024-09-15 16:00:05 +02:00
Max Hilbrunner 85c8a47005 Merge pull request #9940 from tetrapod00/shader-upgrading
Add 3->4 upgrading information about NDC, light(), and reverse-z
2024-09-11 20:03:11 +02:00
tetrapod00 4cda78bd3b Add 3->4 upgrading information about NDC, light(), and reverse-z 2024-09-11 10:55:12 -07:00
tetrapod00 de7537a116 Fix comments in chroma key example shader 2024-09-10 16:32:39 -07:00
Max Hilbrunner 3f24c74a8d Merge pull request #9896 from Brederodes/patch-1
Correct "ConnectionCheck" return type
2024-09-09 23:57:06 +02:00
Max Hilbrunner ea97a4da87 Merge pull request #9918 from Calinou/gdextension-cpp-example-fix-add-property
Fix `ADD_PROPERTY()` calls in GDExtension C++ example to use correct syntax
2024-09-09 12:58:11 +02:00
bruvzg 13f05b13fc Add note about limitations of macOS export from Windows. 2024-09-09 00:13:14 +03:00
skyace65 2bf43bd982 Document reflection probe limitations in compatability renderer 2024-09-08 15:52:42 -04:00
Matthew 493f0ea810 Merge pull request #9863 from EastToastLiving/tileset-custom-metadata-correction
Tileset custom metadata correction
2024-09-07 13:17:35 -04:00
Matthew 4d42b74ebc Merge pull request #9766 from tetrapod00/advanced-postprocessing-example
Add example to advanced_postprocessing.rst
2024-09-07 12:31:14 -04:00
Kevin Bloch (@codingthat) 688d037c41 Fix typos in tutorials/animation/introduction.rst (#9917)
* Fix typos in tutorials/animation/introduction.rst

* Grammar fix
2024-09-06 22:57:35 -04:00
Hugo Locurcio fe80ff22df Fix ADD_PROPERTY() calls in GDExtension C++ example to use correct syntax
This matches how properties are declared in core Godot.
2024-09-06 22:25:59 +02:00
RedStainedInk c855ff7811 Removed outdated information about Mono SDK beeing necessary
Mono SDK isn't necessary any more for Godot .NET to work properly on Linux. All functionality that was needed from Mono back then is now provided by .NET proper.

I fear Mono SDK might even cause some conflict with up-to-date .NET.
2024-09-05 22:42:33 +02:00