Commit Graph

742 Commits

Author SHA1 Message Date
Sai Nane
98ce9b570b Briefly document Vector<> variations
`Packed*Array` aliases seem universally preferred where available, so
a link to the list of types seems appropriate.

`LocalVector` is used sparingly, so mentioning the intent and rough
tradeoff involved seems right for an overview.
2025-01-29 12:20:45 +00:00
Emily
99b1f86d53 Update list of advantages and disadvantages to more accurately refle… (#8736)
* Updated list of advantages and disadvantages
2025-01-25 15:15:26 -05:00
Martin Beaussart
d18c89ba71 Update code order with static annotation on gdscript_styleguide.rst (#8920)
* Update code order with static annotation on gdscript_styleguide.rst

Update code order on gdscript_styleguide.rst
by inserting static variables and methods on the code order as a proposal
2025-01-25 12:06:20 -05:00
Billy Guzik
42ac7c8431 Update gdscript_exports.rst (#9327)
* Update gdscript_exports.rst

Added hyperlinks for each export type that lead to annotation documentation further explaining each export type, as requested in issue#9281
2025-01-25 11:32:33 -05:00
Max Hilbrunner
fb685d9f2c Merge pull request #10514 from Synzorasize/101163_update
Document adding scene-unique nodes by prefixing with '%'
2025-01-22 04:35:17 +01:00
tetrapod00
8d1a93f2ff Add links from GDScript keywords table to relevant sections 2025-01-21 15:29:51 -08:00
Synzorasize
65a77b087c Document adding scene-unique nodes by prefixing with '%' 2025-01-21 17:11:08 -06:00
Hugo Locurcio
265397c5fc Add @icon ordering to the GDScript style guide 2025-01-13 17:25:42 +01:00
Amaral Krichman
65da706a85 Update gdscript_basics.rst 2025-01-03 00:19:39 -03:00
Max Hilbrunner
4b4e8518a7 Merge pull request #10370 from tetrapod00/standardize-header-the-rest
Standardize RST header syntax
2025-01-02 12:17:38 +01:00
31
3dd3580a5b Groups: Nodes panel doesn't allow node multiselect 2024-12-29 15:48:21 -08:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
lena
63cec69b30 Add a paragraph about self (#8928)
Adds a paragraph about the self keyword and documents that
it can be used to refer to variables defined in subclasses of
current class.

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: RedMser <5117197+RedMser@users.noreply.github.com>
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-12-26 15:30:42 -08:00
Danil Alexeev
d610bfdf23 GDScript: Document @warning_ignore_start and @warning_ignore_restore 2024-12-23 23:58:46 +03:00
Raul Santos
cea78730d0 [.NET] Use collection expressions
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 03:38:42 +01:00
Max Hilbrunner
6d5fd9acc8 Merge pull request #10427 from raulsntos/dotnet/changes-in-4.4
C#: Update platform support for 4.4 and new minimum required TFM
2024-12-20 18:48:07 +01:00
Raul Santos
62b342bba9 C#: Update platform support for 4.4 and new minimum required TFM
- Remove Android restrictions that no longer apply in 4.4.
- Add links in the C# documentation about general upstream system requirements that also apply to C# projects.
- Godot projects now target `net8.0`, so there's no need to mention TFM requirements in platform support. And we can update every mention of .NET 6 with .NET 8 and C# 10 with C# 12.
2024-12-19 20:52:27 +01:00
fearwalia
d5b8afb77b Clarify creating a global in Singletons (Autoload) (#10416)
The code below to be added to scene 1 and 2 didn't say how to define the global variable, and neither did this, so I fixed it

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-12-17 18:12:11 -08:00
Max Hilbrunner
47d39d9048 Merge pull request #10413 from tetrapod00/be-nice-to-c
Rephrase dictionary description in Advanced GDScript
2024-12-16 19:11:59 +01:00
tetrapod00
fdfa3ea66e Rephrase dictionary description in Advanced GDScript 2024-12-15 13:58:40 -08:00
Max Hilbrunner
273f9a7f2f Merge pull request #10403 from dsnopek/redo-vnen-8751
Add example of GDExtension written pure C
2024-12-15 17:37:40 +01:00
Max Hilbrunner
8c18786cc1 Merge pull request #10409 from tetrapod00/no-simply
Simply remove some words
2024-12-15 17:31:18 +01:00
George Marques
874b2792a6 Add example of GDExtension written pure C 2024-12-15 10:06:26 -06:00
tetrapod00
bd25f5813a Simply remove some words 2024-12-14 20:36:17 -08:00
Max Hilbrunner
4e8160dedb Merge pull request #10398 from tetrapod00/tweak-csharp-diff
Tweak wording in C# differences
2024-12-14 22:51:15 +01:00
David Snopek
658287759b Improve "Version Compatibility" section in "What is GDExtension" 2024-12-12 17:19:50 -06:00
skyace65
cb39d01e97 Update debugger visual profiler screenshot 2024-12-11 18:16:10 -05:00
tetrapod00
ccb0a71db3 Tweak wording in C# differences 2024-12-10 11:11:20 -08:00
easterNday
f967e9e135 Fix C# main screen plugin example and document C# EditorInterface singleton (#9399)
* 🐞 fix(plugins): fix syntax errors

Correct the syntax errors in the plugin development section, specifically by modifying 'EditorInterface' to 'EditorInterface.Singleton' in the C# portion. It is imperative to utilize the singleton pattern here to ensure the plugin successfully compiles.

* 🐞 fix(different): ADD exceptions

Provide explanations for Singleton exceptions of `EditorInterface`
2024-12-10 11:08:19 -08:00
Max Hilbrunner
b7b215dfb7 Merge pull request #10333 from Calinou/bbcode-in-richtextlabel-print-rich
Add a page on the Output bottom panel
2024-12-08 08:34:17 +01:00
Hugo Locurcio
806a4fccfd Add a page on the Output bottom panel 2024-12-07 08:40:44 +01:00
xix xeaon
609cbcaa94 Add Nim GDExtension 2024-12-04 08:28:11 +01:00
52SW
e05cebecdb Document GDScript @export_tool_button (#10338)
* Add @export_tool_button to the documention
2024-11-29 15:18:08 -05:00
Quinn
6292c86298 Replace mentions of Reference with RefCounted 2024-11-29 22:13:27 +10:00
RB35
1a72210be3 Update C# Rider install steps for now built-in plugin "Godot Support" (#10323)
* Plugin now bundled with rider so can't be installed

As of Rider 2024.2 the plugin is bundled with the software and can't be installed which can be confusing.
https://plugins.jetbrains.com/plugin/13882-godot-support

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-27 21:18:13 +01:00
mechalynx
0f8c24b071 Update PackedArray explanation to match Godot 4.0 behavior (#10304)
Add paragraphs describing the differences between PackedArray and
normal or typed Array.

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-22 10:03:47 +01:00
Max Hilbrunner
5b15d190e9 Merge pull request #10295 from tetrapod00/gdscript-summary
Add GDScript naming convention summary table
2024-11-21 03:22:13 +01:00
tetrapod00
c1310e6009 Add GDScript naming convention summary table
Co-Authored-By: Edwin <60202421+emarino135@users.noreply.github.com>
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-20 14:40:36 -08:00
tetrapod00
6feb7b47c8 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-20 09:05:25 -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