Max Hilbrunner
aed79c2583
GDScript Advanced: Improve custom iterator example
...
Fix syntax by removing multiple variable declarations on the same line, which GDScript does not (yet?) support, use clearer class and variable names, and rename the misleading "is_done()" function to "should_continue()", as the value returned (and returned by _iter_init() and iter_next() actually signifies the opposite: true means continue, false means stop. Also remove the superfluous do_step() function.
Closes #2433 .
Co-authored-by: a e <afablee@gmail.com >
2019-05-09 03:48:56 +02:00
corrigentia
088974fbfc
Fix some grammar in gdscript_advanced.rst ( #1978 )
2018-12-05 16:06:43 +01:00
Rémi Verschelde
4ef06a4135
Removing trailing whitespace
...
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Vikram1323
3d9f98318d
Update gdscript_advanced.rst
2018-10-15 20:03:38 +05:30
Profesor Tartelett
8032eca4d7
Probable typo. Changed Vector(x, y) to Vector2(x, y)
2018-06-03 13:02:52 +02:00
mhilbrunner
f215a0cf26
Proofing/review: Remove filler words, adhere to style guide
2018-05-06 05:23:37 +02:00
Michael Alexsander Silva Dias
e173600c79
Various fixes to the "Scripting -> GDScript" to respect the GDScript style guide.
2018-04-23 02:31:55 -03:00
Neil Moore
97c3d0c975
Document how to create and use custom iterators
2018-04-04 01:06:37 -04:00
Josh
ccc7a3b400
Update gdscript_advanced.rst
...
Typo
2018-03-23 09:29:23 -05:00
Max Hilbrunner
4a649c7b4e
Fix #958
2018-03-13 19:08:21 +01:00
Michael Alexsander Silva Dias
23cb08ce0a
Fixes for the GDScript styling in various pages.
2018-02-05 20:12:52 -02:00
StaticDynamics
d62a97f2b6
Fix typo in gdscript_advanced.rst
...
Changed "an" to "and" in dictionary section.
2018-02-04 19:54:54 -05:00
Joaquin Ruiz Luque
858c5a221e
Update gdscript_advanced.rst
...
Small fixes.
2018-02-02 16:15:55 -03:00
Nathan
18f889b6a4
Improve docs structure
...
Change Step by Step in Getting Started
Remove Engine Features category, move into a new Tutorials top-level section
2018-01-25 08:54:27 +01:00