Commit Graph

704 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
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
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
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
09156f2ee9 Add UPDATE comments to perishable information 2024-11-17 13:50:42 -08: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
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
Thaddeus Crews
f70686cdbe CI: Integrate pre-commit for style checks 2024-11-14 14:08:49 -06:00
Hugo Locurcio
4c3020b775 Document @export_custom and additional range hints in GDScript exports
This also adds a hint suffix example to C# exports.

Co-authored-by: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com>
2024-11-11 17:22:44 +01:00
Matthew
8daa3af406 Merge pull request #10233 from tetrapod00/debug-tools-outdated
Update list of debugging settings
2024-11-08 20:53:35 -05:00
tetrapod00
6a11d113e7 Update list of debugging settings 2024-11-08 16:15:27 -08:00
Max Hilbrunner
396fc8fd08 Merge pull request #10227 from tetrapod00/integral-integer
Improve GDScript format strings tutorial
2024-11-08 00:18:03 +01:00
tetrapod00
5606be5c75 Improve GDScript format strings tutorial
Remove usages of "integral".
Add section on string concatenation.
Improve organization.
Fix incorrect examples.
2024-11-07 14:45:21 -08:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Matthew
8db59234ae Merge pull request #10214 from tetrapod00/project-settings-links
Link to project settings when mentioning them
2024-11-06 19:15:41 -05:00
0stam
6ef6ad8a4c Use the newly introduced `is not` operator 2024-11-06 23:06:58 +01:00
Max Hilbrunner
eee29a2911 Merge pull request #10075 from KleidonBD/patch-1
Fix "or_greater"/"or_less" code example
2024-11-05 22:42:32 +01:00
tetrapod00
a8667ffddf Add links to project setting mentions 2024-11-05 11:55:14 -08:00
Max Hilbrunner
af6ab3db67 Merge pull request #10098 from TheSecondReal0/csharp-signal-parameters
Add C# documentation for connecting to GDScript signals with parameters
2024-11-05 00:44:28 +01:00
tetrapod00
2f634c7acb Improve display of rubric fake headers with heading-level option 2024-11-02 09:42:55 -07:00
Andrey Solomatin
832e85d38a Made edits to match GDScript code order
Updated gdscript_documentation_comments.rst
2024-10-31 12:36:54 +03:00
Anaclecio Brederodes
e01f00f069 Correctly name enum type
Previously the example defined a "MyEnum" enum, but used a "SpellElements" type export. I've changed so it now defines a "SpellElements" enum.
2024-10-29 18:36:16 -03:00
Max Hilbrunner
cc48adbf4e Merge pull request #10080 from tetrapod00/gdscript-sidebar
Improve GDScript Basics sidebar navigation by changing header levels
2024-10-28 23:22:36 +01:00
Max Hilbrunner
18092b00e2 Merge pull request #10151 from adamscott/add-caption-filename
Add filenames as captions for code blocks
2024-10-28 23:21:39 +01:00
Max Hilbrunner
830fa18c79 Merge pull request #10150 from tetrapod00/csharp-diagnostic-nesting
Fix unreachable pages in sidebar under C# Diagnostics
2024-10-28 14:31:38 +01:00
Hugo Locurcio
748775370a Use negative index for get_child() in Singletons (Autoload) 2024-10-27 22:24:28 +01:00
Adam Scott
44dfb3a390 Add filenames as captions for code blocks 2024-10-27 16:18:36 -04:00
tetrapod00
9a5507829e Fix unreachable pages in sidebar under C# Diagnostics 2024-10-27 12:46:48 -07:00
tetrapod00
3bc5ea85af Remove references to 3.x minor versions
Removes notes about features being introduced in 3.x minor versions. In 4.x, these
details are no longer relevant.
2024-10-20 15:35:32 -07:00
tetrapod00
a6484f9841 Fix docstring written as comment 2024-10-19 11:31:59 -07:00
Max Hilbrunner
7f27fd7f16 Merge pull request #10078 from Calinou/csharp-global-classes-filename
Document filename requirements in C# global classes
2024-10-18 05:38:32 +02:00
Max Hilbrunner
8d28f0fc82 Merge pull request #10097 from Calinou/gdscript-basics-documentation-comments
Mention documentation comments in GDScript basics
2024-10-18 05:33:23 +02:00
Max Hilbrunner
be9be7fb28 Merge pull request #10093 from Calinou/variant-not-null
Document Variant not being nullable
2024-10-18 05:32:34 +02:00
Asa Sprow
a4c0b37464 add C# documentation for connecting to gdscript signal with parameters 2024-10-17 09:45:30 -06:00
Hugo Locurcio
cbf61b3f02 Document Variant not being nullable 2024-10-17 15:28:24 +02:00
Hugo Locurcio
594a1d6cbc Mention documentation comments in GDScript basics 2024-10-17 15:12:35 +02:00
Hugo Locurcio
30eebc4bb7 Document filename requirements in C# global classes
- Flesh out the introduction.
2024-10-17 10:45:46 +02:00
Hugo Locurcio
a878406e8d Clarify restrictions on nested array types in Static typing in GDScript 2024-10-16 16:23:32 +02:00
tetrapod00
4a24e7553b Improve GDScript Basics sidebar navigation by changing header levels
Promotes many headers up one level, so they appear in the sidebar.
Removes the redundant Language header, since the whole page is about the language.
2024-10-13 13:30:41 -07:00
Kleidon
198625efea Fix "or_greater"/"or_less" code example
The code example demonstrating the usage of the "or_greater" and "or_less" hints for the export_range annotation does not declare a variable after the annotation, which is inconsistent with the previous three code examples in the section.
Also, giving the export_range a step of 1 does not create a slider for the property in the editor, like the text suggests, but it instead creates a spin box. The step should be changed to a float so the property can appear as a slider.
2024-10-11 18:56:18 -06:00
Lukas Tenbrink
3ed0339c87 Add a gdextension online documentation guide. (#9966)
* Add a gdextension online documentation guide.

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2024-10-08 16:56:39 +02:00
Aaron Franke
a74060b969 Add a note about GDScript format strings in C++ (#10061) 2024-10-08 13:23:56 +02:00
Hugo Locurcio
36bb7e5ac5 Document expression evaluator in Debugger panel 2024-10-05 00:35:05 +02: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