skyace65
76550d3653
Add information on using continue with match to gdscript table
2022-01-09 11:03:43 -05:00
Matthew
d17c415009
Update and improve VS Code setup instructions ( #5501 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-01-08 00:06:25 +01:00
Max Hilbrunner
fbc887ab2d
Merge pull request #5484 from Ivorforce/patch-2
...
Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example
2021-12-29 18:33:32 +01:00
Matthew
f1ff320f06
Clarify singleton read order ( #5457 )
...
* Clarify singleton read order
* Apply suggestions from code review
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-12-29 18:29:52 +01:00
Ivorius
d85e844a94
Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example
2021-12-29 13:51:12 +01:00
Ivorius
1741bbd35e
Remove references to 'godot-headers' from gdnative cpp example
2021-12-29 13:44:02 +01:00
Matthew
0247f14e1e
Clarify tree order in Using SceneTree ( #5449 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-12-14 11:05:29 +01:00
Fernando Carmona Varo
94beafa63b
Change PackedScene instance() to instantiate() ( #5439 )
2021-12-08 00:26:00 +01:00
itsadrago
e9c31d9104
Fix incorrect explanation of successful evaluation in Evaluating expressions ( #5424 )
2021-12-02 16:56:03 +01:00
Max Hilbrunner
0fb9b49e3e
Merge pull request #5339 from zacryol/memory-mgmnt-refactor
...
Refactor Memory Management section
2021-11-07 20:09:12 +01:00
zacryol
c5291196aa
Refactor Memory Management section
...
Makes it more clear that Node is not freed automatically.
The part that states RefCounted as the default was moved to Inheritance
WeakRef example was altered to show a RefCounted object not prevented from freeing.
2021-11-07 08:14:51 -07:00
Max Hilbrunner
8472c9a304
GDScript Basics: More braces for consistency.
2021-11-03 19:20:52 +01:00
Max Hilbrunner
ddcd1c7c89
Merge pull request #5264 from bearbybits/patch-1
...
Change square brackets to parentheses
2021-11-03 19:18:27 +01:00
Max Hilbrunner
7b758e4739
Merge pull request #5326 from zacryol/inferred-typing-cast
...
Show example of casting get_node() for static typing in style guide
2021-11-03 14:43:45 +01:00
Sietseq
7954084bd4
GDNative: Specify to use the 3.x branch ( #5354 )
...
GDExtensions has been merged into the godot-cpp master branch. The tutorial should specify to use the 3.x branch if the reader is creating GDNative scripts.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-11-03 14:30:22 +01:00
zacryol
35211f6002
Show example of casting get_node() for inferred static typing in style guide
2021-10-22 11:04:56 -06:00
zacryol
8b5fb7a39d
Rename var "character_dir" to "character_dict" in GDScript style guide ( #5325 )
2021-10-16 01:12:08 +02:00
Max Hilbrunner
61e30a2894
Merge pull request #5319 from Calinou/gdignore-ignores-contents
...
Document that `.gdignore` files' contents are ignored
2021-10-12 03:07:55 +02:00
Hugo Locurcio
81fea66371
Document that .gdignore files' contents are ignored
2021-10-11 23:36:17 +02:00
zacryol
6d1819f2f1
Add Format String to operator/precedence list
2021-10-10 09:21:55 -06:00
Scott
ec8d40cb85
Fix variable casing for class load() in GDScript basics ( #5309 )
2021-10-09 08:30:04 +02:00
Rémi Verschelde
9a05eef561
4.0: Convert Sprite references to Sprite2D
...
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Rémi Verschelde
05ed919228
Merge pull request #5266 from akien-mga/gdscript-no-exp_range
2021-09-29 13:33:45 +02:00
Hugo Locurcio
31033b212b
Fix void typed function code sample in GDScript basics
2021-09-25 19:49:24 +02:00
Rémi Verschelde
f39354b7f8
GDScript: Remove reference to @export_exp_range
...
Cf. #52800 .
2021-09-17 23:00:38 +02:00
bearbybits
d7bbff839f
Change square brackets to parentheses
...
Minor change to avoid unnecessary confusion by conditional statements not executing properly if a beginner programmer uses square brackets rather than parentheses to enclose a condition.
2021-09-16 16:05:25 -07:00
Aaron Franke
5c7f653347
Optimize PNG and SVG images using oxipng and svgcleaner ( #5254 )
2021-09-14 17:50:17 +02:00
Aaron Franke
4060179184
Remove trailing space characters ( #5251 )
2021-09-13 14:52:39 +02:00
Matthew
44c2aa0b07
Add note that C# tools plugin requires the mono SDK on Linux ( #5228 )
...
* Add note that C# tools plugin requires mono SDK
2021-09-10 12:42:41 +02:00
Max Hilbrunner
110e0af817
Merge pull request #5219 from skyace65/C#Exports
...
Add C# Export Page
2021-09-09 13:02:52 +02:00
skyace65
f8fffccde0
Add C# Export Page
2021-09-07 08:38:17 -04:00
Kevin Conner
c6e58d8fad
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-09-05 18:48:16 +02:00
euseibus
76b1ae4b53
Fix GDNative typo: "godot_headers" should be "godot-headers" ( #5220 )
...
Co-authored-by: euseibus <>
2021-09-02 16:06:06 +02:00
luzpaz
d9bc787dd9
Fix various typos ( #5215 )
...
Fix various typos
Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
Max Hilbrunner
6318e530d0
Remove UE version number
2021-08-09 16:22:31 +02:00
phantomdesvin
1cd4653182
One phrase fix for idle_and_physics_processing.rst
...
Both, the _process() and _physics_process() are not called every time the engine draws a frame like its written here, only -process() does. _physics_process() gets called before each physics step like it's explained on this same page.
2021-08-06 09:08:48 +02:00
skyace65
baa8f38032
minor clarification about export node_path
2021-08-03 19:35:30 -04:00
merumelu
41a3150726
GDScript style guide: tint borders of good/bad code examples ( #5138 )
...
Add `rst-class` directives before code blocks to allow custom styling.
2021-08-01 16:09:09 +02:00
merumelu
65118aa246
Replace various links with ref roles ( #5137 )
2021-07-31 22:29:54 +02:00
Hugo Locurcio
669c163135
Add a GDScript style guide recommendation for multiline wrapping
2021-07-29 15:30:21 +02:00
DeeJayLSP
2483e2f464
Scene tree: Show functions as code ( #5113 )
...
* Scene tree: Show functions as code
These function callbacks should be shown as code for better readability.
2021-07-26 20:39:45 +02:00
Max Hilbrunner
0ecdd19c3f
Merge pull request #3892 from ThakeeNathees/gdscript-documentation-comments
...
Documentation for the GDScript documentation comments
2021-07-12 13:45:13 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0
Draft: Remove "simple", "simply", "easy", and "just" from the docs ( #4496 )
...
* Various style edits
* Edit out "simple" when possible
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
Co-authored-by: Clay John <claynjohn@gmail.com >
2021-07-11 14:38:53 +02:00
Hugo Locurcio
8505b713a2
Document nested ternary-if usage example in GDScript reference
2021-07-07 01:47:25 +02:00
Max Hilbrunner
6f2bf43c5f
Merge pull request #4857 from saolof/patch-1
...
Minor change to section on for loop syntax
2021-07-06 08:36:25 +02:00
BlueStag
a090a578fb
Fixed GetNode inconsistencies ( #5056 )
...
* Fixed GetNode inconsistencies (C#)
The generic method should be used instead. See #4794 .
2021-07-01 08:06:13 +02:00
Vladislav Vorobev
9ffebd0812
Fixed class_name keyword ordering in GDScript style guide
...
Fixes two examples to follow rules described in "Code order" section of this page.
2021-06-25 12:05:50 +03:00
hpnrep6
3c1596e4a9
Add C# variant tab to Pausing games example ( #5011 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-06-18 03:58:28 +02:00
Rémi Verschelde
044b6a74f8
Cleanup uses of double spaces between words or after punctuation
2021-06-07 10:44:02 +02:00
DeeJayLSP
939719f9eb
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
2021-06-03 21:03:37 -03:00