Commit Graph

4521 Commits

Author SHA1 Message Date
Max Hilbrunner
128d712d89 Merge pull request #8195 from wlsnmrk/cross-scripting-style
Improve code style for cross-language scripting examples
2024-11-19 10:39:43 +01:00
Ian Snyder
7855e17267 Update using_multiple_threads.rst (#8752)
* Update using_multiple_threads.rst

Update using_multiple_threads.rst

Adding C++ demos. It doesn't mirror the GDScript exactly, as I found this to be a clearer example of what the thread was doing when testing with multiple threads. All credit to "coder" from this Godot Forum thread: https://forum.godotengine.org/t/gdextension-c-async/36756/7?u=i-snyder

With applied suggestions from AThousandShips code review (many thanks!!)

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-11-19 10:37:59 +01:00
Max Hilbrunner
9ca59bdc2b Merge pull request #10285 from tetrapod00/low-level-hyphen
Use "low-level" and "high-level" instead of "low level" and "high level"
2024-11-18 23:48:13 +01:00
Max Hilbrunner
1b0e0eb8df Merge pull request #10284 from tetrapod00/hyphens
Add hyphens to some adjective phrases
2024-11-18 23:45:16 +01:00
tetrapod00
93489bbefb Use "low-level" and "high-level" instead of "low level" and "high level"
Co-Authored-By: John Veness <2512915+JohnVeness@users.noreply.github.com>
2024-11-18 13:47:58 -08:00
tetrapod00
d354f8cbc2 Add hyphens to some adjective phrases
Co-Authored-By: John Veness <2512915+JohnVeness@users.noreply.github.com>
2024-11-18 13:34:22 -08:00
Hugo Locurcio
e402984a8a Document rand_weighted() in Random number generation (#10283)
* Document `rand_weighted()` in Random number generation

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-11-18 20:20:10 +01:00
tetrapod
5bad2a6282 Add back information about per-vertex shading (#10281)
* Add back information about per-vertex shading

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-18 20:06:54 +01:00
Ivan Skorikov
bed807600b Add mention of Auto Reload Scripts on External Change option to the e… (#9887)
* Add mention of Auto Reload Scripts on External Change option to the external editor tutorial

---------

Co-authored-by: Ivan Skorikov <Ivan.Skorikov@jetbrains.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-11-18 15:56:34 +01:00
Max Hilbrunner
92337690df Merge pull request #10144 from tetrapod00/pipeline-stutter-diagram
Add diagram of shader compilation steps to Pipeline Compilations page
2024-11-18 15:53:44 +01:00
Max Hilbrunner
02f5982938 Merge pull request #10243 from tetrapod00/update-comments
Add UPDATE comments to perishable information
2024-11-18 13:05:07 +01:00
Max Hilbrunner
5fe7cb2922 Merge pull request #10280 from ntlblpm/patch-3
Fix grammar in Matrices and transforms
2024-11-18 13:00:11 +01:00
tetrapod00
42abf26423 Update Project Settings page
- Add screenshots
- Document reading and writing settings
- Document manually editing project.godot
- Note that most settings are changed in different
classes at runtime
2024-11-17 22:29:44 -08:00
ntlblpm
bcce532773 Update matrices_and_transforms.rst 2024-11-17 18:54:28 -05:00
ntlblpm
e766d7972b Update vectors_advanced.rst 2024-11-17 18:30:24 -05:00
tetrapod00
991cea2fef Add diagram of shader compilation steps to Pipeline Compilations page 2024-11-17 14:04:35 -08:00
tetrapod00
09156f2ee9 Add UPDATE comments to perishable information 2024-11-17 13:50:42 -08:00
Matthew
5e8062d0bd Update android export page for AAB requirement (#9637)
* Update android export page for AAB requirement

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-11-17 14:00:41 +01:00
Max Hilbrunner
b2647ddc64 Merge pull request #9756 from ztc0611/fix-quit-requests-mobile
Fix Typo and add information to Handling quit requests/On mobile devices
2024-11-17 13:53:37 +01:00
Max Hilbrunner
723a9a38c8 Merge pull request #9873 from HolonProduction/sub-plugins
Document sub plugins
2024-11-17 13:09:45 +01:00
Max Hilbrunner
acbf957e13 Merge pull request #10108 from austin226/patch-2
Rephrase tutorial items for targeting with a Navigation Agent
2024-11-17 12:52:38 +01:00
Klaim (Joël Lamotte)
73f306f6b0 Clarified --script <script> expected path values (#9923)
* Clarified expected path value for `--script`

Clarified the kind of paths expected by `--script` and how they are interpreted. [Silent errors in recent Godot versions (regressions)](godotengine/godot#96691) made this even more confusing.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-11-17 12:09:34 +01:00
Max Hilbrunner
9a886ec4af Merge pull request #10276 from mhilbrunner/cherry-pick-10242
Cherrypick #10242 (Add info about layer mask exporting to physics_introduction) to master
2024-11-17 11:36:07 +01:00
Max Hilbrunner
ff46ea4407 Merge pull request #9777 from 0stam/is-not-conversion
Use the newly introduced ``is not`` operator
2024-11-17 11:34:55 +01:00
notPelf
00221436f4 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:30:23 +01:00
Max Hilbrunner
3a527894ee Merge pull request #10054 from furkanCalik7/manual-transform-update
Clarify Documentation for rotated_local() Function in 3D Transforms
2024-11-17 11:19:15 +01:00
Max Hilbrunner
99c5cb6dfd Merge pull request #10069 from Calinou/bbcode-in-richtextlabel-color-constants
Add color constants reference to BBCode in RichTextLabel
2024-11-17 11:18:17 +01:00
Hugo Locurcio
338c19ca9d Document converting CSG nodes to MeshInstance3D and related lightmapping workflow (#10229)
* Document converting CSG nodes to MeshInstance3D and related lightmapping workflow

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-17 11:15:16 +01:00
Max Hilbrunner
f87ae31e93 Merge pull request #10275 from mhilbrunner/fix-csharp-semicolon
C# exports: Fix semicolon syntax error
2024-11-17 11:07:18 +01:00
FlooferLand!
d7ba911c0c Add note about LightmapGI only baking nodes under its parent (#10247)
* Add note about LightmapGI only baking nodes under its parent

`LightmapGI`'s documentation currently doesn't mention the fact it only bakes nodes under its parent.
This can make the user think there is something wrong with their scene setup or 3D models, as it refuses to bake when the user's models / world isn't under the same parent as the `LightmapGI`.

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-17 11:05:26 +01:00
Max Hilbrunner
8095573f87 C# exports: Fix semicolon syntax error
Co-authored-by: Loregret <31369647+Loregret@users.noreply.github.com>
2024-11-17 11:01:41 +01:00
Max Hilbrunner
94aadc9a52 Merge pull request #10267 from Repiteo/ci/pre-commit
CI: Integrate `pre-commit` for style checks
2024-11-17 10:49:44 +01:00
Hugo Locurcio
703d0cdba2 Improve grammar and writing in Pipeline compilations page (#10257)
* Improve grammar and writing in Pipeline compilations page

- Mention example of off-screen rendering using ColorRect to hide
  the root viewport's 3D rendering or a SubViewport node.
- Split into more paragraphs to improve readability.
- Link to class reference pages when relevant.
- Wrap source file to 80 characters like other pages.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-15 16:05:02 +01:00
Max Hilbrunner
316f05f8ba Merge pull request #10252 from tetrapod00/warn
Change warning boxes to danger boxes if data loss can occur
2024-11-15 15:57:25 +01:00
Thaddeus Crews
f70686cdbe CI: Integrate pre-commit for style checks 2024-11-14 14:08:49 -06:00
Max Hilbrunner
ef96f93c0e Merge pull request #10232 from Calinou/exporting-for-web-progressive-web-app
Document exporting as progressive web app in Exporting for the web
2024-11-14 13:32:41 +01:00
Max Hilbrunner
8c291253b8 Merge pull request #10235 from tetrapod00/builtin-built-in
Use "built-in" and "built into", avoid "builtin", "built in", and "built-in to"
2024-11-14 13:32:14 +01:00
Max Hilbrunner
19804cc7b8 Merge pull request #10256 from skyace65/XR-Renderer
Update recommended renderer for XR
2024-11-14 13:31:48 +01:00
Max Hilbrunner
dee3e6d300 Merge pull request #10263 from tetrapod00/3-4-link
Update link in Upgrading from Godot 3 to Godot 4
2024-11-14 13:30:42 +01:00
tetrapod00
dcbb136b58 Update link in Upgrading from Godot 3 to Godot 4 2024-11-13 19:39:45 -08:00
tetrapod00
9c52320183 Add comments about non-monospaced tables 2024-11-13 17:43:51 -08:00
skyace65
36088f33a0 Update recommended renderer for XR 2024-11-13 18:34:25 -05:00
tetrapod00
6919723ae2 Clarify VERTEX and other shader built-ins 2024-11-13 14:11:45 -08:00
Hugo Locurcio
2d9aeb9740 Update Random number generation for Godot 4.2+ (#9822)
- Document `Array.pick_random()` as a shorthand.
- Use global scope random methods as they are all available in global scope now.
- Remove calls to `randomize()` that are not needed for code samples
  to be functional, as the engine now calls `randomize()` on startup
  once automatically.
2024-11-13 13:59:04 +01:00
tetrapod00
f2717085dc Change warnings to dangers if data loss can occur 2024-11-12 01:15:51 -08:00
Max Hilbrunner
905b1f4f08 Merge pull request #10221 from tetrapod00/codespell-custom
Enforce style guidelines with custom codespell dictionary
2024-11-12 07:51:53 +01:00
Max Hilbrunner
7f6da4887f Merge pull request #10231 from tetrapod00/renderer-state-define
Document CURRENT_RENDERER built-in shader define
2024-11-12 07:51:22 +01:00
Max Hilbrunner
96fe4d15df Merge pull request #10244 from tetrapod00/advanced-postprocess-ndc
Add multiple renderer support to Advanced Postprocessing
2024-11-12 07:41:45 +01:00
Max Hilbrunner
94f9088774 Merge pull request #10249 from tetrapod00/web-rendering
Mention web support in Choosing a renderer section
2024-11-12 07:24:51 +01:00
tetrapod00
b7b3c5909d Mention web support in Choosing a renderer section 2024-11-11 09:45:25 -08:00