530 Commits

Author SHA1 Message Date
Patrick Exner
be6f9a5b8a Add dependency section to gdextension file docs
(cherry picked from commit 2877a27633)
2024-07-24 21:09:39 +02:00
Patrick Exner
22cfe0233c Add documentation about .gdextension file
Update tutorials/scripting/gdextension/gdextension_file.rst

(cherry picked from commit 7695474656)
2024-07-24 21:07:25 +02:00
CJ Brown
3f17911d77 Remove Note from Constants
PR #71051
Documentation not updated to reflect deep read-only change to const Array and const Dictionary

(cherry picked from commit 7b91dffc22)
2024-07-24 21:05:41 +02:00
Hugo Locurcio
4aafc5ac67 Tweak guidelines on dictionary and enum formatting in GDScript style guide
- Recommend writing each enum item on its own line, similar to C++.
- Recommend using spaces around inline dictionary declarations
  to make them easier to distinguish from arrays (due to similar-looking
  `[]` and `{}` characters in most fonts). This is commonly found
  in Python or JavaScript style guides.

(cherry picked from commit 71cdbdd055)
2024-07-24 21:04:48 +02:00
Kitzu
f87295f92c Correction on usage of Dictionaries in C# as it should be 'Godot.Collections.Dictionary<>'
(cherry picked from commit d884e3ef07)
2024-07-24 21:03:49 +02:00
skyace65
dff553aecc Add info on script template folders
(cherry picked from commit f941feee55)
2024-07-24 21:01:43 +02:00
NormPlum
ae38bfc90c Update gdscript_basics.rst
Fix grammar re. 'await/awaiting'.

(cherry picked from commit 94b33fc106)
2024-07-24 21:01:05 +02:00
Benjiko99
2e22525fe1 Fix typo in docs
(cherry picked from commit 47d13ae2a2)
2024-07-24 20:59:30 +02:00
JP
66507f7267 Fixed out of date binding syntax for Signal.connect
fixes godotengine/godot-docs#9236

(cherry picked from commit 4ae3064699)
2024-07-24 20:59:22 +02:00
Patrick Exner
314c9044e7 Replace ClassDB calls with available macros in GDExtension docs
(cherry picked from commit 1c49683ee8)
2024-07-24 20:59:05 +02:00
Greg Cobb
2d4cd7f777 Add more information about VS and VS Code debugging (#9222)
* Added more information about VS and VS Code debugging

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
(cherry picked from commit 25b8b8f20f)
2024-07-24 20:58:14 +02:00
Danil Alexeev
f810e958d5 GDScript: Clarify raw string literals documentation
(cherry picked from commit 60befd7527)
2024-07-24 20:56:56 +02:00
lena
b8e65373cd docs: Clarify associativity of operators. (#9170)
* docs: Clarify associativity of operators.

(cherry picked from commit 2925c83390)
2024-07-24 20:55:51 +02:00
444B
7c85937f7b Update gdscript_styleguide.rst - clarified sentence and grammar (#9110)
* Update gdscript_styleguide.rst - clarified sentence and grammar

- Clarified the statement on "One statement per line"
- Removed unclear sentence with incorrect grammar

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
(cherry picked from commit 3d441150b1)
2024-07-24 20:52:32 +02:00
31
08a0974ecb singletons_autoload.rst: add C# example similar to "Global Variable"
(cherry picked from commit a4e958c0e0)
2024-07-24 20:49:30 +02:00
31
33ceecab84 Link to C# Variant-compatible section directly
(cherry picked from commit 8b94fc9501)
2024-07-24 20:49:13 +02:00
Max Hilbrunner
a1be0931b0 Merge pull request #8878 from 31/dev/31/variant-obj
c_sharp_variant.rst: add more examples, fix explicit vs. implicit

(cherry picked from commit 664b739aaa)
2024-07-24 20:49:03 +02:00
31
b1747cb7e5 c_sharp_collections.rst: copy variant page's Packed{TYPE}Array order
(cherry picked from commit d203e8b4e5)
2024-07-24 20:48:22 +02:00
31
fa78062603 Elaborate on C# Connect/Disconnect
(cherry picked from commit 04b42dc143)
2024-07-24 20:47:39 +02:00
Matthew
0f652294c5 Merge pull request #8860 from 31/dev/31/export-node-res-useful
c_sharp_exports.rst: clarify why exporting nodes/resources is useful

(cherry picked from commit 654ee26ffe)
2024-07-24 20:46:07 +02:00
31
daa76760e2 Update external_editor.rst: point out C# instructions
(cherry picked from commit 1388882b3e)
2024-07-24 20:45:00 +02:00
31
581e110086 c_sharp_differences.rst: clarify System.IO.Path note
(cherry picked from commit 69e1d87816)
2024-07-24 20:25:25 +02:00
Max Hilbrunner
79f5cf126f Merge pull request #9044 from skyace65/TemplatesDefault
Remove incorrect information on script templates

(cherry picked from commit b16813eae2)
2024-05-07 15:15:03 +02:00
Max Hilbrunner
cd1c84df28 Merge pull request #8910 from skyace65/ScriptTemplates
Add info on finding script templates folder

(cherry picked from commit 45bb210434)
2024-05-07 15:15:03 +02:00
Max Hilbrunner
30a3264e8e Merge pull request #9176 from BSChad/patch-1
Fix outdated _CLASS_ script template description.

(cherry picked from commit 208bd8f46e)
2024-05-07 12:57:36 +02:00
Max Hilbrunner
7ba4e49e8d Merge pull request #9052 from skyace65/ChangeManually
Remove confusing sentence for changing scenes

(cherry picked from commit 944128625c)
2024-05-07 12:56:00 +02:00
Max Hilbrunner
842c3ce233 Merge pull request #9027 from TylerPelaez/patch-1
Replace Reference usage with RefCounted in Resources Tutorial

(cherry picked from commit fce8f25905)
2024-05-07 12:54:50 +02:00
A Thousand Ships
1a79bfb9e5 Merge pull request #8935 from skyace65/DebugGodot3
Remove Godot 3 reference from profiler page

(cherry picked from commit 72a61e83f5)
2024-05-07 12:53:35 +02:00
Max Hilbrunner
afecefa307 Merge pull request #8900 from skyace65/Autoload
Remove duplicate information in autoload page

(cherry picked from commit 5c926b5180)
2024-05-07 12:53:15 +02:00
Michael Smith
1ef005b81b Updated GDExtension to most recent version.
The `git submodule -b` had `4.1` as the branch to use. 

I updated these to `4.2` for a more recent build.
2024-04-03 19:31:32 -04:00
Max Hilbrunner
9e69ab8456 Merge pull request #8826 from mhilbrunner/remove-outdated-extension
Remove reference to outdated VS extension for C#
2024-01-25 10:26:03 +01:00
Max Hilbrunner
ae127b0802 Merge pull request #7507 from dalexeev/gds-var-init-order
GDScript: Document variable initialization order
2024-01-25 10:25:39 +01:00
Quentin Quaadgras
8a1d8d8d18 Add Go to the list of community maintained GDExtension bindings. (#8808)
* Add Go to the list of community maintained bindings.

---------

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-01-25 10:14:36 +01:00
Matthew
72100d77d4 Merge pull request #8809 from BWPanda/patch-1
Re-word 'Comment spacing' note in gdscript_styleguide.rst
2024-01-25 10:13:57 +01:00
Matthew
cceb8ac6e2 Merge pull request #8774 from 31/patch-1
Update c_sharp_differences.rst ToSignal example
2024-01-25 10:13:04 +01:00
Max Hilbrunner
525328c0c3 Merge pull request #8748 from Calinou/doc-importing-images-svg-text
Document importing SVG images with text
2024-01-25 10:11:05 +01:00
Max Hilbrunner
42035c7796 Merge pull request #8730 from Marenz/patch-1
Lambdas need an explicit `return`
2024-01-25 10:10:18 +01:00
Max Hilbrunner
2b3bc6d530 Merge pull request #8654 from AdriaandeJongh/patch-3
Added section on common unsafe operations and their safe counterparts
2024-01-25 10:10:12 +01:00
Matthew
dcf4361b1a Merge pull request #8687 from PgBiel/patch-1
Update link to Rust GDExtension bindings
2024-01-25 09:56:38 +01:00
Max Hilbrunner
1b5a1a2f59 Merge pull request #8615 from TheYellowArchitect/patch-13
Slight polish at enum example
2024-01-25 09:53:54 +01:00
Paul Joannon
9cd4943b31 Change the note about disconnecting C# signals 2024-01-25 09:44:33 +01:00
Hugo Locurcio
0f36f060c9 Update documentation changelog for 4.2 2024-01-25 09:44:05 +01:00
Phlegmlee
5951d5850d Removed duplicate line.
The line below is redundant, it exits on line 141 - 142 and therefore isn't needed on 159.

 ## The description of a constant.
    const GRAVITY = 9.8
2024-01-25 09:43:34 +01:00
TheYellowArchitect
ee4eae3208 Added enum iteration example 2024-01-25 09:38:49 +01:00
Max Hilbrunner
45051e178b Merge pull request #8505 from pseidemann/patch-2
add missing override modifier for _process()
2023-11-25 19:27:08 +01:00
Matthew
daf78ddf52 Merge pull request #8165 from ershn/rework_pause_menu_example
Reworked the pause menu example in pausing_games.rst
2023-11-24 12:54:44 -05:00
RegalMedia
940f51dd96 Typo fixed in Same-scene limitation section of scene_unique_nodes.rst
Replaced `Blade` with `Sword` in Same-scene limitation section to remain consistent with screenshot example
2023-11-22 10:17:06 -06:00
pseidemann
067170fb8b add missing override modifier for _process() 2023-11-19 15:31:44 +01:00
Max Hilbrunner
7f97b671f9 Merge pull request #7889 from akien-mga/drop-uwp
Remove UWP mentions as the platform port was removed in 4.2
2023-11-18 12:30:25 +01:00
Hugo Locurcio
59cfbbbd82 Add notice about GDExtension being experimental in What is GDExtension? 2023-11-17 15:28:45 +01:00