Commit Graph

9718 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
Max Hilbrunner
417ddf32e2 Merge pull request #10290 from FlooferLand/broken-hxgodot
Remove dead link to hxgodot
2024-11-19 12:49:23 +01: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
a5aac83516 Merge pull request #10289 from mhilbrunner/fix-eof
Fix EOF newlines in using multiple threads
2024-11-19 10:47:49 +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
Max Hilbrunner
41b0e4c1e4 Merge pull request #10279 from ntlblpm/patch-2
Fix grammar in Advanced vector math
2024-11-18 12:50:55 +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
Wilson E. Alvarez
feeea91cdf Add ThreadSanitizer usage note under Linux (#8908)
* Add ThreadSanitizer usage note under Linux

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-11-17 14:50:17 +01: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
0a6c134c42 Merge pull request #9382 from fmnjose/patch-1
Change misleading comment in 'Your first 3D game'
2024-11-17 14:00:04 +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
9a2fccb54b Merge pull request #10277 from mhilbrunner/salvage-9858
Compiling for Linux/BSD: Add openKylin
2024-11-17 12:00:08 +01:00
Max Hilbrunner
eda6a2da1f Compiling for Linux/BSD: Add openKylin
Co-authored-by: DSOE1024 <90103853+DSOE1024@users.noreply.github.com>
2024-11-17 11:56:12 +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
dfb8a1890c Merge pull request #10169 from tetrapod00/manual-style-guide
Add section on manual style to Writing Guidelines
2024-11-17 11:13:43 +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