Commit Graph

4326 Commits

Author SHA1 Message Date
tetrapod00
9ffd5f53c4 Add FAQ entry "Which programming language is fastest?"
Compares the performance of C#, GDScript, and C++.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: Andre Sacilotto <66838864+andresacilotto@users.noreply.github.com>
2024-11-19 19:04:48 -08:00
Matthew
76a808700c Merge pull request #10286 from tetrapod00/4x-csharp
Remove performance comparison from C# Basics
2024-11-19 21:19:40 -05:00
ssBandit
892322b5b1 Add C# code to random_number_generation and fix shuffle bag example. (#8072)
* Add C# code to random_number_generation and fix shuffle bag example.

Changes made to shuffle bag example:
- Replace .empty() with .is_empty()
- More descriptive comment
- Change code-block into a tabbed code block

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-19 16:37:18 -08:00
Amirtha Krishnan
1b51bb7b1a Add documentation for hint_enum uniform in shading_language.rst (#9841)
* Adding documentation for ``hint_enum`` uniform in shading_language.rst

Added explanation regarding ``hint_enum`` behaviour and usage in Uniforms section.
Also added a row in the Uniforms section table to reflect this new hint type

This PR is documentation regarding : godotengine/godot#94324

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-11-19 16:26:46 -08:00
D4Devil
00c34dd769 Add examples of individually setting bits in Physics introduction (#9910)
Add examples using CollisionObject2D.set_collision_mask_value().

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-19 16:12:23 -08:00
Max Hilbrunner
e081912aa7 Merge pull request #10293 from tetrapod00/debug-shortcut
Fix wrong editor setting in Overview of Debugging Tools
2024-11-19 21:44:06 +01:00
tetrapod00
7cfe4b82b1 Fix wrong editor setting in Overview of Debugging Tools 2024-11-19 11:58:55 -08:00
tetrapod00
77f3eb6b68 Remove performance comparison from C# Basics 2024-11-19 11:03:25 -08:00
FlooferLand
b29d5ecabf Remove link to hxgodot
The url returns a 404, and the project itself was archived in October
2024-11-19 13:03:05 +02:00
Max Hilbrunner
07fbf9ee05 Merge pull request #10259 from tetrapod00/clarify-vertex
Clarify VERTEX and other shader built-ins
2024-11-19 10:54:35 +01:00
Max Hilbrunner
7ad80b338b Fix EOF newlines in using multiple threads
CI goes brrrr
2024-11-19 10:43:48 +01:00
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
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