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
Meriipu
fbaff8f5c9
Dictionary: use the potentially clearer word "key" instead of "index" ( #3724 )
2020-06-23 10:22:47 +02:00
skyace65
eb5d5cc90f
Clarify GDScript match
2020-06-06 20:58:16 -04: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
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
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
Paul Joannon
fae465f34f
Documentation page about C#/GDScript interactions ( #2826 )
2019-12-21 11:52:32 +01:00
Pawel Lampe
fa5a7c2761
function call operator added to operator table
2019-12-05 19:28:38 +01:00
Johan Thelin
90c8056e8c
Change example signal name to animation_finished
...
The AnimationPlayer signal used to demonstrate the yield function is called "animation_finished".
2019-10-19 15:36:50 +02:00
asakuno
7b8cf1d4fe
Directive fixes
...
important 652Line
2019-10-14 14:33:42 +09:00
Nathan Merrill
6d46050ecb
Fix extends statement
...
When extending from a filepath, you need to use a string
2019-09-25 07:15:57 -06:00
Aaron Franke
cdd4ef33e3
Update int, float, and bool docs
...
It's useful to explain what C++ type they use in the background so that people with any questions can look up the equivalent type in C++ if they need more specific documentation.
2019-09-01 13:46:17 -04:00
Rémi Verschelde
b0d064677b
Merge pull request #2714 from nippysaurus/patch-1
...
correct variable reference in setget example
2019-09-01 15:46:35 +02:00
Michael Dawson
a36056fd62
correct variable reference in setget example
2019-08-22 18:39:49 +10:00
Hugo Locurcio
c41d188838
Split GDScript exports documentation into its own page
...
This makes the GDScript basics page shorter.
2019-08-21 17:30:19 +02:00
Chris Bradfield
9d8ae252f7
Merge pull request #2677 from AlexanderPavlenko/patch-1
...
Update gdscript_basics.rst
2019-08-12 12:29:31 -07:00
Chris Bradfield
efc78e5b0e
Merge pull request #2687 from Calinou/improve-gdscript-basics
...
Improve the GDScript basics page
2019-08-12 11:49:37 -07:00
Dan Boorstein
b4fb258356
Document 'for' treatment of a bare number as a 'range()'
2019-08-08 12:30:24 -08:00
Hugo Locurcio
4fa1ddbde9
Improve the GDScript basics page
...
- Add more information on the `assert` keyword
- Document binary literals
- Use "parent class" everywhere for consistency
- Move information about parent class function overloading
to be more visible
- Don't recommend multiline strings for multiline comments
to avoid performance issues in tight loops
- Improve grammar and writing style
2019-08-06 20:34:41 +02:00
Alexander Pavlenko
3a1b7c01c7
Update gdscript_basics.rst
2019-08-02 22:33:48 +03:00
Andrii Doroshenko (Xrayez)
f71d2c3dd5
Elaborate on yielding to completed signal in GDScript basics
...
Also mention that one can get the signal's argument via yield once emitted.
2019-07-25 13:12:23 +03:00
Rodrigo Matos
5067b9b58b
Just some small code corrections
...
1º - Missing quotation marks
2º - Damage calculation was resulting in negative numbers.
2019-07-17 09:12:24 +02:00
Michael Alexsander Silva Dias
bd7ed603c9
Fix links in the note in "Signals" section of the "GDScripts basics" page
2019-07-15 12:17:50 -03:00
Rodrigo Matos
eb17706cd9
[Minor] Getting Started corrections ( #2611 )
...
* Update gdscript_basics.rst
* Small typo
2019-07-14 15:33:56 -07:00
Cameron Reikes
5402f28f59
Add warning to reflect behavior with tool nodes ( #2577 )
...
In response to this issue: https://github.com/godotengine/godot/issues/30104
2019-07-02 13:56:06 +02:00
Nathan Lovato
b9a9aea6da
Rewrite GDScript basics - Signals section with more concrete examples ( #2526 )
...
Close #2526
2019-07-01 15:29:19 +09:00
fogine
d2ac16935c
document the ability which allows to export a Curve resource variable for godot editor from gdscript
2019-05-31 20:10:56 +02:00
Kevin McPhillips
f3c2eda0a3
Change case sensitive string to "waiting"
2019-04-13 21:42:18 -04:00
Denys Lytviak
5015e602bd
gdscript_basics missing double quotes
...
(cherry picked from commit 2d84bba7e2 )
2019-03-29 20:49:50 +01:00
Chaosus
5497c12709
Removed deleted gdscript keywords
2019-02-21 08:46:00 +03:00
Rémi Verschelde
c344f8d801
Misc style fixes
2019-02-10 13:38:13 +01:00
Nathan Lovato
cc98ef723d
Merge pull request #2149 from Dar13/issue_1973
...
Rewrite 'Signals' introduction to have clearer examples
2019-02-06 07:13:00 +09:00
Neil Moore
fb64a084cb
Rewrite 'Signals' introduction to have clearer examples
...
Previous examples used signals in the same file which can cause confusion to
some new users (as seen in #1973 ). New examples follow basic framework
of existing work, but take care to explicitly show an example of
inter-instance signals.
2019-01-28 23:18:10 -05:00
Rémi Verschelde
a30183a4c4
Fix GDScript enum docs for 3.1
2019-01-28 12:05:20 +01:00
Rémi Verschelde
aa7a9f8675
Misc heading fixes
2019-01-08 11:30:55 +01:00
Rémi Verschelde
739ea5eeb9
Fix most Sphinx warnings
2019-01-07 12:14:46 +01:00
Wilson E. Alvarez
0ca14438ae
Changed TYPE_FLOAT to TYPE_REAL
2018-12-24 19:28:50 -05:00