Max Hilbrunner
72c0af46b2
Snake-case .tscn, .gd and _on_* callbacks
...
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk >
2023-05-18 12:46:58 +02:00
Danil Alexeev
4aff3ddc8a
Update "GDScript reference" (operators and match) ( #7323 )
...
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2023-05-18 10:57:40 +02:00
Felipe Augusto Marques
c4db831703
More precise documentation about property underlying access ( #7362 )
...
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2023-05-18 09:36:54 +02:00
Danil Alexeev
1575f5f714
Mention that annotations in GDScript support constant expressions
2023-05-12 16:38:20 +03:00
Max Hilbrunner
5e04f6550c
Merge pull request #6565 from piyushmulatkar/patch-1
2023-05-04 14:03:31 +02:00
Hugo Locurcio
698c40e72a
Document how to add breakpoints in the editor and using breakpoint
...
Until now, there was little documentation on how to create breakpoints
(including persistent ones with the `breakpoint` keyword). This may
not be obvious to those who haven't used other IDEs before.
This also documents' breakpoints persistent behavior since the editor
state is saved.
2023-05-03 20:26:46 +02:00
Klaymore
627fd49e90
Remove unneeded repetition in gdscript_basics.rst
2023-04-29 21:54:17 -07:00
mtttz
562dfdcbcc
Document support for escaped UTF-16 and UTF-32 Unicode characters
...
Fixes #5607
2023-03-30 06:29:48 +02: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
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
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
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
Cyril K.B
3a11c30915
Fix code block formatting in gdscript_bascis.rst
2023-02-18 10:14:00 +01:00
Hugo Locurcio
0c9ac1fc42
Document Unicode identifiers now being supported in GDScript reference
2023-02-08 19:06:55 +01:00
Mach565
d089a504e9
Continue no longer works in a match statement ( #6674 )
2023-01-28 23:33:30 +03:00
mara
2b271ba33e
tutorials/scripting: Mention % literal syntax
...
It was unclear to me what that '%' literal syntax does, add
examples in the appropriate places.
2023-01-25 20:16:48 +01:00
Max Hilbrunner
7b21d5c293
GDScript basics: expand upon continue explanation ( #6650 )
...
Co-authored-by: DavidVereb <davidvereb@users.noreply.github.com >
2023-01-22 17:19:56 +01:00
Matthew
eb25278373
Merge pull request #6534 from thiagola92/single_quote
...
Update string literal example
2023-01-18 21:09:26 -05:00
Adam Scott
9ab272f94b
Update icon annotation references in the documentation
2023-01-18 08:12:59 -05:00
Anthony Cossins
f994d270f8
Update references to Color constants for Godot 4 ( #6602 )
2023-01-14 00:19:09 +01:00
Piyush Mulatkar
dea8e1c94a
Removed repetitive reference to NodePath
...
Removed repetitive mentions of NodePath
Fixes #6554
URL to the documentation page:
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#nodepath
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#id1
2023-01-07 01:50:30 +05:30
Thiago Lages de Alencar
591296ceb3
Update in description ( #6526 )
...
* Update `in` description
It can be used without the `if` keyword
It appears as keyword in gdscript tokenizer: 0103af1ddd/modules/gdscript/gdscript_tokenizer.cpp (L474)
2023-01-06 01:00:57 +01:00
Thiago Lages de Alencar
f2d0428c0c
Update string literal example
...
Both examples were using double quotes, this change the second example to single quotes
2022-12-30 06:37:25 -03:00
Hana
74804eb8e9
update gdscript export docs
2022-12-29 22:20:33 +01:00
Hugo Locurcio
d46c17f8ff
Improve the Upgrading to Godot 4 page
...
- Mention various caveats of upgrading, such as unavailable features.
- Mention external shaders not being updated by the conversion tool.
- List optional things to do before upgrading to make the process smoother.
2022-12-05 13:15:52 +01:00
FeralBytes
fad177f9b0
Change match typeof() example from REAL to FLOAT in GDScript reference ( #6384 )
...
TYPE_REAL no longer exists, changed to TYPE_FLOAT
2022-11-14 14:46:40 +01:00
Max Hilbrunner
4bdf16e6fe
Merge pull request #6336 from opl-/fix/tool-mode-anchor
...
Fix tool mode section reference position
2022-10-24 02:42:55 +02:00
opl-
e0757940cf
Fix tool mode section reference position
2022-10-23 21:52:52 +02:00
Max Hilbrunner
198393eec7
More Godot 4 rename fixes ( #6315 )
...
* Spatial -> 3D, Transform, Quaternion
* File -> FileAccess
* Camera -> Camera3D
* Update references to MeshInstance and MultiMeshInstance
* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
1fffab8cf2
Formatting, syntax and URL fixes
2022-10-11 10:14:37 +02:00
NationalityNZ
24770fd215
Update gdscript_basics.rst ( #5873 )
...
* Update gdscript_basics.rst
Added some pragmatic advice for for-loops
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2022-10-11 09:32:13 +02:00
HolonProduction
bd27c031a8
Add explanation of lambdas to GDScript basics.
...
Some examples and wordings were copied from the original proposal godotengine/godot-proposals#2431 .
This also contains notion of one line functions.
2022-10-08 08:58:50 +02:00
0xF812
b08b95d4f5
Fix missing quote in GDScript reference ( #6123 )
2022-08-30 16:39:44 +02:00
seanfy
1273f4a490
Fix typo in GDScript reference: 'user' -> 'use' ( #6033 )
2022-08-05 09:51:04 +02:00
Jaime Crespo
33caaf6535
Fix misc syntax/style errors/warnings on documentation head ( #5977 )
2022-07-23 18:29:56 +02:00
kkoang
ffd84fa9a0
Fix inline code display in GDScript reference ( #5907 )
2022-07-03 21:02:15 +02:00
Spencer Kotys
22f820a036
Improved documentation for GDScript in keyword ( #5883 )
...
* Improve 'in' operator description
* Apply syntax suggestions from code review
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-06-22 18:48:29 +02:00
Yuri Rubinsky
239c49cc8a
Add pow operator to GDScript operators list
2022-05-12 11:10:14 +03:00
Zshandi Krahn
66305cf83b
Fixed grammar in "Awaiting for signals" end note ( #5586 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-02-24 14:54:09 +01:00
skyace65
0b4017d519
Document line continuation in GDScript
2022-02-22 20:34:32 -05:00
Markus Sauermann
aaf6b3e504
Update tutorials: Rename Transform to Transform3D ( #5603 )
2022-02-14 13:27:37 +01:00
samkeen
9ec9531b9a
Reduced the RPC annotations down to @rpc
...
As per this post (and merge to master):
https://godotengine.org/article/multiplayer-changes-godot-4-0-report-2
The multiplayer annotations have reduced down to only @rpc (as far
as I can tell? apologies if I've miss interpreted this)
- removed the deprecated annotations and replaced with @rpc
- replaced an example that referenced @remote
2022-01-19 19:30:12 -08:00
skyace65
76550d3653
Add information on using continue with match to gdscript table
2022-01-09 11:03:43 -05: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
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