Victor Karp
72b304711a
Add missing closing quotation marks in GDScript format strings ( #5583 )
2022-02-05 21:23:29 +01:00
zacryol
99e882fa28
Show example of casting get_node() for inferred static typing in style guide
2021-11-03 16:15:18 +01:00
zacryol
16a4217e11
Rename var "character_dir" to "character_dict" in GDScript style guide ( #5325 )
2021-10-16 01:12:27 +02:00
Matthew
7de2827267
Add note that C# tools plugin requires the mono SDK on Linux ( #5228 )
...
* Add note that C# tools plugin requires mono SDK
2021-10-15 15:24:36 +02:00
Kevin Conner
882405c9d4
Remove an incorrect distinction drawn with Objective-C ( #5224 )
...
An Objective-C method call will not be ignored when the object doesn't
define the method. It will crash with a runtime exception.
The author may have been thinking of the way an Objective-C method call
will be ignored when the object is nil. But that's not the case when the
object is there and lacks the method. In that case, the runtime will
call -doesNotRecognizeSelector:. The default behavior in the root class
NSObject is to raise an exception (not the try/catch kind; a similar
case is array bounds checks) and deliberately crash.
https://developer.apple.com/documentation/objectivec/nsobject/1418637-doesnotrecognizeselector?language=objc
2021-10-15 15:15:58 +02:00
Hugo Locurcio
83a9c5e254
Add a GDScript style guide recommendation for multiline wrapping
2021-10-15 15:07:36 +02:00
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
Hugo Locurcio
c30d734d86
Document that .gdignore files' contents are ignored
2021-10-12 11:21:08 +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
Vladislav Vorobev
594b086995
Fixed class_name keyword ordering in GDScript style guide
2021-07-12 23:04:27 +02:00
DeeJayLSP
ec9ada2c8e
Fix class reference link on C# features
...
Fixed a misplaced double back quote that is supposed to be a class reference link on C# features page
(cherry picked from commit 939719f9eb )
2021-06-04 09:45:35 +02:00
DeeJayLSP
77a372d266
Change text to avoid use of first person in Static typing in GDScript ( #4953 )
2021-06-04 00:25:36 +02:00
horhorou
8ecde2ecfc
Update creating_script_templates.rst
...
Using Ubuntu and after trying on two different machines. I just want to specify that for Linux the template script files are not listed in the .local/share/godot folder but in .config/godot/.
If someone can confirm on other linux OS 😄
It will allow other people who like me since version 3.0 use scripts_templates in the project root .😭
(cherry picked from commit d8eca54e0c )
2021-06-02 13:16:34 +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
31
c8dccbeee5
Update C# Connect method: binds is a Godot array ( #4777 )
...
(cherry picked from commit 6e96d8d262 )
2021-04-21 15:06:00 +02:00
31
0b5b8ef496
Polish new sentence about restoring NuGet packages
...
(cherry picked from commit 8c55f98736 )
2021-04-21 15:05:05 +02:00
31
15449e8df7
Simplify C# NuGet package doc to match 3.2.3+
...
(cherry picked from commit eb10a49864 )
2021-04-21 15:04:48 +02:00
skyace65
d857777240
Improve VSCode and VS C# instructions
2021-04-03 20:14:30 -04:00
Rémi Verschelde
c52286a42a
Remove 3.2.x notes not needed in the 3.3 branch
2021-03-19 14:11:10 +01: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
Aaron Franke
66b0aff1d9
Improve C# setup instructions
...
(cherry picked from commit a0b153b2f2 )
2021-03-18 22:18:54 -05:00
Fabio Colella
8664b97135
Fix :ref: link typo in C# basics ( #4552 )
...
(cherry picked from commit be6e3c1e30 )
2021-03-18 22:18:47 -05:00
Ivan Shakhov
58471b34f9
Update external editors prerequisites to match Godot 3.2.3+
...
(cherry picked from commit 111b3d9ac0 )
2021-03-18 22:18:30 -05:00
Evgeniy Vasilyev
af4d5675e2
Fix code formatting in GDScript style guide ( #4755 )
2021-03-15 14:11:08 +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
Rémi Verschelde
36659945b9
Merge branch 'master' into 3.2
2020-09-18 14:50:35 +02:00
Clem
13b80b9faf
Fix typo in Cross-language scripting ( #4027 )
...
Removed "your" in "The marshalling process will do its best to cast your the arguments to match function signatures"
2020-09-17 18:01:10 +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
6d8c7b1d1a
Merge branch 'master' into 3.2
2020-09-11 09:15:57 +02:00
Rémi Verschelde
08fcc85422
Fix title case
2020-09-11 09:13:16 +02:00
Nathan Leiby
97384fd5ee
styleguide: clarify "static typing" syntax ( #3687 )
...
* styleguide: clarify "static typing" syntax
I first explored making an update here because I felt the current docs were confusing:
1. I could not tell if everything below "bad" was actually bad... It seemed like some of it was "good".
2. The examples involving ` var health := 0 # The compiler will use the int type.` seemed redundant, and re: (1) it was confusing to see one in "good" and one in "bad".
Do you agree whether a change is merited or did I misunderstand the docs as written?
---
While writing this proposed update, I realize that my explanation is less focused on style, but instead also explaining how declared and inferred types work. Is that what we expect in the style guide, or is the intent to be laser-focused it on syntax and code clarity? If so, perhaps we should avoid explanation and use the linked static typing guide as the source of truth for a rich explanation: https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/static_typing.html#doc-gdscript-static-typing ).
Thanks for the awesome game engine!
* clarify why it doesn't work in the get_node() case
2020-09-09 19:05:35 -06: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
wizardlu
6418e67568
Fix typo in visual scripting Nodes and terminology ( #3941 )
...
Fix Typo "sequenced getter" -> "sequenced setter"
2020-08-28 17:15:35 +02:00
Nathan Lovato
2be83bc743
Merge pull request #3908 from Calinou/gdscript-basics-underscore-literals
...
Document support for underscores in number literals in GDScript basics
2020-08-21 10:18:44 -06:00
Hugo Locurcio
f0d0ef0ce3
Add recommendations for numbers in the GDScript style guide
2020-08-19 14:04:25 +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
Rémi Verschelde
2b453a1a96
Merge pull request #3874 from Calinou/doc-csharp-rebuild-solution
...
Mention the need to rebuild C# solutions for the editor in C# basics
2020-08-11 13:19:04 +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
Hugo Locurcio
24f26c744f
Mention the need to rebuild C# solutions for the editor in C# basics
...
This closes #3740 .
2020-08-05 11:52:04 +02:00