116 Commits

Author SHA1 Message Date
Hugo Locurcio
5deed61c59 Document nested ternary-if usage example in GDScript basics 2021-10-15 14:57:11 +02:00
zacryol
ee599ec18a Add Format String to operator/precedence list 2021-10-12 11:40:13 +02:00
Scott
7c3926dec8 Fix variable casing for class load() in GDScript basics (#5309) 2021-10-09 08:29:38 +02:00
Andrew Kim
807734819e Fix void typed function code sample in GDScript basics (#5281) 2021-09-25 19:48:24 +02:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
Hugo Locurcio
af8e35e142 Add a "see also" link to the GDScript grammar in the GDScript section
The page is in the Development section, but it's not easy to discover.

(cherry picked from commit ea7814b25c)
2021-04-26 17:03:17 +02:00
skyace65
db822fbf39 Add code example for weakref
(cherry picked from commit 4f19eea5c9)
2021-03-19 13:17:01 +01:00
Matthew
226b44d3a7 Add information on onready annotation to C# differences page (#4565)
(cherry picked from commit 2a4dcc40d6)
2021-03-19 12:50:26 +01:00
Hugo Locurcio
4b6c9c4c61 Document that addons/ class_name is only visible if part of a plugin
See https://github.com/godotengine/godot/issues/30048.
2021-02-22 20:09:32 +01:00
Karl
047ffb9673 Fix emit_signal() call in GDScript basics' coroutine example (#4559)
The first argument of emit_signal be the signal name.
2021-01-19 02:04:59 +01:00
Nathan Lovato
7e133868f5 Merge pull request #3955 from HaSa1002/yield-multiple-arguments
Add yield with multiple arguments example to GDSCript Basics
2020-10-10 12:07:26 -06:00
Rémi Verschelde
973cf89f94 Merge branch 'master' into 3.2 2020-09-22 08:59:08 +02:00
Nathan Lovato
3f0a2830dc Improve phrasing of constants in GDScript basics (#4036)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-09-18 22:21:24 +02:00
Adrien
4fc9a12e11 Update Keywords to include class_name
Includes `class_name` in the keywords list, and updates the definition of `class`.
2020-09-15 16:16:35 +08:00
Rémi Verschelde
e337af304f Merge branch 'master' into 3.2 2020-09-09 13:02:26 +02:00
Hugo Locurcio
e27d64924f Apply suggestions from code review 2020-09-02 15:49:10 +02:00
HaSa1002
5df18b894f Add yield with multiple arguments example to GDSCript Basics 2020-09-02 14:09:06 +02:00
Hugo Locurcio
9e699409d3 Document support for underscores in number literals in GDScript basics
This also uses lowercase for hexadecimal numbers, which is the
recommended approach as it's more readable.

This closes #3907.
2020-08-18 15:07:23 +02:00
Rémi Verschelde
2c4db3ba10 Merge branch 'master' into 3.2 2020-08-11 13:30:27 +02:00
Marcin Sędłak-Jakubowski
8197cfa051 Add missing code formatting to function name in GDScript basics (#3885) 2020-08-09 20:20:35 +02:00
Rémi Verschelde
76cf11c890 Merge branch 'master' into 3.2 2020-07-30 17:14:54 +02:00
Hugo Locurcio
81890d5120 Mention GDScript escape sequences direclty in GDScript basics
Many C escape sequences aren't valid in GDScript, so it's better to
document them directly in a table.

See https://github.com/godotengine/godot/issues/38716.
2020-07-15 11:43:17 +02:00
Rémi Verschelde
d48ff2b0a1 Merge branch 'master' into 3.2 2020-07-06 14:30:28 +02:00
Rémi Verschelde
5f88d911a9 Merge pull request #3742 from Calinou/gdscript-flat-constants
Document constants being flat in GDScript
2020-06-30 00:01:40 +02:00
jcoombes
f46d8b7233 irregardless -> regardless. 2020-06-29 22:56:05 +01:00
Hugo Locurcio
bb143bc497 Document constants being flat in GDScript
See https://github.com/godotengine/godot/issues/30212.
2020-06-29 10:06:59 +02:00
Rémi Verschelde
223570eb13 Merge branch 'master' into 3.2 2020-06-26 13:29:38 +02:00
Meriipu
fbaff8f5c9 Dictionary: use the potentially clearer word "key" instead of "index" (#3724) 2020-06-23 10:22:47 +02:00
Rémi Verschelde
80957b8581 Merge branch 'master' into 3.2 2020-06-22 13:05:41 +02:00
skyace65
eb5d5cc90f Clarify GDScript match 2020-06-06 20:58:16 -04:00
Rémi Verschelde
10f20b00cb Merge branch 'master' into 3.2 2020-05-20 15:08:42 +02:00
Max Hilbrunner
b24b9ad9a5 GDScript basics: improve match explanation
Co-authored-by: Jacob Gray <jacopo.grayscale@gmail.com>
2020-05-17 18:33:21 +02:00
Max Hilbrunner
54f2ef4ba2 GDScript: Add type casting to the precedence table 2020-05-14 18:03:05 +02:00
mtttz
c7719aa020 Replace outdated 'GDScriptFunction' identifier with 'GDScriptFunctionState' in example code 2020-05-12 23:47:50 +02:00
Hugo Locurcio
0cba774249 Mention Object bracket property access and dynamic property indexing
This closes #3506.
2020-05-08 17:28:49 +02:00
Rémi Verschelde
31a288783c Merge branch 'master' into 3.2 2020-05-04 09:08:34 +02:00
Michael Alexsander
e4f6430262 Make more snippets in GDScript basics page follow the styleguide (#3487) 2020-05-03 15:22:42 +02:00
Max Hilbrunner
fb45e50509 Merge pull request #2644 from Xrayez/gdscript-coroutines-completed
Elaborate on yielding to `completed` signal in GDScript basics
2020-05-03 01:00:03 +02:00
Rémi Verschelde
997fc68e78 Merge branch 'master' into 3.2 2020-04-17 19:09:14 +02:00
Rémi Verschelde
48faee9f73 Merge branch 'master' into 3.2 2020-04-17 19:09:11 +02:00
Hugo Locurcio
046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Hugo Locurcio
62725b30f1 Move the GDScript history to the FAQ, reference it in GDScript basics 2020-04-09 16:24:31 +02:00
Yuri Sizov
075acc61b0 Replace Pool*Arrays with Packed*Arrays in tutorials and references 2020-03-17 11:15:34 +03:00
Michael Alexsander
95784cf94f General formating fixes for GDScript scripting pages (#3248) 2020-03-06 20:28:58 +01:00
Michael Alexsander
3f9c09fbf7 Small fixes for recent formating errors (#3247) 2020-03-06 13:51:11 +01:00
Johannes Witt
1eab94c72d Added looped Coroutine Example to GDScript Basics (#2586) 2020-03-03 22:28:56 +01:00
Igor
088279f8e2 Fix typo in Vector2 description 2020-01-13 09:34:48 +02:00
Michael Alexsander
f7505fdf79 Add references for the built-in type pages in GDScript basics 2020-01-03 14:52:48 -03:00
Nathan Lovato
b19ead1230 Merge pull request #2967 from Scony/func-call-operator
function call operator added to operator table
2019-12-31 12:49:55 +01:00
Ryan Roden-Corrent
584ff890d4 Add link to tool docs in gdscript docs.
The gdscript_basics docs give a pretty sparse description of the tool
keyword. I ended up figuring out a lot of it on my own before I finally
realized there was a more detailed page hidden elsewhere in the docs.
2019-12-24 08:09:47 -05:00