368 Commits

Author SHA1 Message Date
Rémi Verschelde
27918155b0 GDExtension example: _process delta is a double
It's `Variant::FLOAT` in the bindings, which is always a double.

Changed other member variables for consistency so there's no implicit
conversions between float and double.

Fixes https://github.com/godotengine/godot-cpp/issues/1073.
2023-04-04 15:04:38 +02:00
mtttz
562dfdcbcc Document support for escaped UTF-16 and UTF-32 Unicode characters
Fixes #5607
2023-03-30 06:29:48 +02:00
Patrick
b4f3575d3b Update/Clarify gdextension docs 2023-03-25 01:21:19 +01:00
ganymoe
9df4b09f3f fix paths used in gdextension example
fixes godotengine#7044
2023-03-23 21:30:46 +01:00
Max Hilbrunner
62e502fe23 Merge pull request #7004 from kzerot/patch-1
Added info about range() with negative step
2023-03-23 04:49:37 +01:00
Max Hilbrunner
ebf3a02dbc Merge pull request #6498 from vmedea/2022-12-style-guide
Update style guide for new export and setget syntax
2023-03-23 04:46:52 +01:00
Max Hilbrunner
86c4c136ea Merge pull request #7005 from rcorre/array-type
Document array types.
2023-03-23 04:41:10 +01:00
Max Hilbrunner
b53e989669 Merge pull request #7012 from jwmcgettigan/onready-patch
Updated instances of onready to @onready.
2023-03-23 04:39:30 +01:00
Max Hilbrunner
7d5fb4e6a2 Various fixups 2023-03-23 03:13:29 +01:00
Max Hilbrunner
8d1cfa6c37 Merge pull request #6345 from Calinou/add-custom-platform-ports
Add a page on creating custom platform ports
2023-03-23 02:38:02 +01:00
Hugo Locurcio
12ff0a170d Document the Visual Profiler debugger tab, update some screenshots to 4.0 (#6976)
* Document the Visual Profiler debugger tab, update some screenshots to 4.0

* Update tutorials/scripting/debug/debugger_panel.rst

Co-authored-by: Clay John <claynjohn@gmail.com>

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-03-22 11:29:05 +01:00
RedStainedInk
a434971e4f Updating the instructions for C# debugging in Visual Studio Code (#6977)
* Updating the instructions for Visual Studio Code

Edited the instructions needed to make Visual Studio Code debugging work with Godot 4 - .net. Explained the situation with the not yet updated Godot c# extension for Visual Studio Code.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-03-22 11:26:22 +01:00
Ivan Shakhov
c3869d986a update the profiling C# code section of the doc for Godot 4 (#7025)
* update the profiling C# code section of the doc for Godot 4

---------

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-22 11:01:59 +01:00
Justin McGettigan
7f7042c515 Updated instances of onready to @onready. 2023-03-18 16:06:11 -04:00
Ryan Roden-Corrent
cd0fad3bab Document array types.
Fixes #6972.
2023-03-17 19:26:49 -04:00
Max
07175e60a0 Added info about range with negative step
Added info about range with a negative step, because I have a lot of questions "how can I get a reversed range in GDScript?" in my local community.
2023-03-17 18:08:51 -05:00
Hugo Locurcio
f658307ac7 Add a page on creating custom platform ports 2023-03-13 18:53:38 +01:00
George Marques
4d86f91ff7 Add note in GDScript reference about inference with Variant (#6934) 2023-03-13 17:41:07 +01:00
pcamp
264df54c2a Fix typo in gdscript_basics
"change" -> "changes"
2023-03-13 01:05:08 -05:00
Yuri Sizov
92f539dce2 Merge pull request #6881 from timothyqiu/autoload
Fix Autoload capitalization inconsistency
2023-03-06 18:53:29 +01:00
gomaproi
c39a8d9dc5 Update some screenshots in the Scripting section for Godot 4 (#6851) 2023-03-06 10:48:20 +01:00
Danil Alexeev
59075ad12f Fix GDScript code style regarding colon (docs) 2023-03-05 16:51:08 +03:00
Haoyu Qiu
ff5fab13f4 Fix Autoload capitalization inconsistency 2023-03-04 09:33:48 +08:00
Patrick
11ae34336f Fix GDExtension file path for extension registration
This PR fixes the issue by adding the necessary `/demo` path part.

Fixes https://github.com/godotengine/godot-docs/issues/6872#issuecomment-1452752784
2023-03-03 02:03:48 +01:00
Ulugbeg
6dd9e26420 Added missing ^= from list of assignment
In the list of the (lowest priority) Assignment Operators, `^-` was not listed, but it does exist & work.
2023-02-28 21:41:39 +01:00
Max Hilbrunner
e4aa65a789 Merge pull request #6840 from konsuko/patch-1
Fix link to Rust GDExtension repository
2023-02-28 11:23:42 +01:00
Konstantin Kopka
c0fb4d2cf2 Fix link to Rust GDExtension repository
The previous link was pointing to the Godot 3.5 Rust GDNative repo.
The new link is pointing to the current/upcoming GDExtension repo.
2023-02-28 14:25:07 +09:00
hakro
445faaac2c Remove duplicate text
2 changes :
- Make the link to godot-cpp more explicit. The phrase `See also Compiling as the build` breaks the flow, and thus the link should be mentioned again
- Remove a duplicate block of text : `If you decide to download the repository ...` which is repeated in the next `Note` block
2023-02-28 01:20:08 +01:00
Patrick
ddd4de4ff0 Fix minor inconsistencies of gdextension docs
* Fixed wrong indentation
* `ADD_SIGNAL` is not a method but a macro which simplifies the usage of the ClassDB method.
2023-02-27 13:11:19 +01:00
Thiago Lages de Alencar
8a112dcef2 Add bang operator to operators table (#6558)
* Add bang operator to operators table

* Add symbolic aliases for `and` & `or`

* Remove comma from operators table

* Add bang to the aliases list

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-02-27 07:37:17 +01:00
Thiago Lages de Alencar
6095b20174 Add bang operator to gdscript style guide (#6828) 2023-02-27 07:19:38 +01:00
Patrick
1d609842dd GDExtension docs
Renames from GDNative to GDExtension


Add Pictures/Gifs and clarified compatability


Remove GDNative language bindings from GDExtension docs


Update SConstruct and AddingProperties section


updated with suggestions


Added property hint example + updated to API naming changes


Fixed redirect.csv
2023-02-26 16:44:45 +01:00
Yuri Sizov
d91b6d4058 Merge pull request #6820 from hughowens/UpdateTutorialTextMonoToDotnet
Update references to "Mono" menu item to "Dotnet"
2023-02-26 16:24:33 +01:00
Max Hilbrunner
3592c269ac Merge pull request #6792 from RedworkDE/compiling-with-mono-net
Update the `Compiling with Mono` page
2023-02-26 10:06:15 +01:00
Kirito
c1847892a3 Update class_name in Static typing in GDScript to follow style guide (#6821) 2023-02-26 01:03:32 +01:00
hughowens
e5f3f1f928 Update references to "Mono" menu item to "Dotnet"
Update references to "Mono" menu item to "Dotnet" in the text of the C Sharp Basics tutorial to match the actual menus as of Godot 4 RC5
2023-02-25 14:27:05 -08:00
Rémi Verschelde
f604baa936 Merge pull request #6772 from raulsntos/dotnet/collections
Add C# collections documentation page
2023-02-24 18:07:28 +01:00
31
a9ed49e29f Scene unique nodes: clarify intended usage (#6670)
Scene unique nodes: clarify intended usage
2023-02-24 17:46:48 +03:00
Max Hilbrunner
0847b43a24 Merge pull request #6777 from GeroVeni/master
Add enum examples to the documentation comments
2023-02-24 15:04:56 +01:00
Raul Santos
4fc468e2e9 Apply suggestions from code review
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
2023-02-21 19:39:29 +01:00
RedworkDE
4d78c82027 Rename page mono->dotnet, Doc build_assemblies args, Note about mono, Reviews, Fixes 2023-02-20 12:28:56 +01:00
Cyril K.B
3a11c30915 Fix code block formatting in gdscript_bascis.rst 2023-02-18 10:14:00 +01:00
GeroVeni
4d6964bc9e Add enum examples to the documentation comments 2023-02-17 09:32:48 +00:00
Raul Santos
7f35d9b38e Update tutorials/scripting/c_sharp/c_sharp_collections.rst
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-13 21:24:40 +01:00
Raul Santos
c403465613 Add C# collections documentation page
- Move documentation of the Godot C# collection types to a dedicated page.
- Document the differences between .NET collections and Godot collections.
- Help users choose which type of collection to use in C#.
2023-02-13 21:24:39 +01:00
Max Hilbrunner
0464ade11c Merge pull request #6761 from Piralein/warnings
Update Invalid References
2023-02-12 18:34:53 +01:00
Raul Santos
62266a1634 Update C# exports documentation (#6746)
* Update C# exports documentation

- Node exports are supported in 4.0.
- Add documentation about exporting enums (and flag enums).
- Add more documentation about exporting collections.
- Changes to follow our style guide more closely.

---------

Co-authored-by: Hana <48352564+Piralein@users.noreply.github.com>
2023-02-12 18:31:38 +01:00
Hana
64476d96b4 update references 2023-02-10 19:13:03 +01:00
Max Hilbrunner
bbe291af42 Merge pull request #6750 from Calinou/gdscript-basics-unicode-identifiers
Document Unicode identifiers now being supported in GDScript reference
2023-02-09 10:12:32 +01:00
huulong
e7fbd0e136 Fix gdscript_exports @export_node_path example by adding quotes around class names to pass strings 2023-02-08 20:24:28 +01:00