318 Commits

Author SHA1 Message Date
saolof
15bcf71083 Minor change to section on for loop syntax
The C-like for loop is specific to languages that wanted to copy C syntax and has nothing to do with static vs dynamic typing. Most new languages do not have it and have a foreach loop over iterators instead, regardless of whether they are statically typed or not.
2021-04-21 18:53:34 -04:00
Rémi Verschelde
ca41df2fd0 Merge pull request #4597 from skyace65/weakref
Add code example for weakref
2021-03-19 13:16:34 +01:00
Matthew
2a4dcc40d6 Add information on onready annotation to C# differences page (#4565) 2021-03-19 12:46:23 +01:00
skyace65
4f19eea5c9 Add code example for weakref 2021-01-28 22:30:24 -05:00
Thakee Nathees
6fac7f0d8d documentation for the GDScript documentation comments
(thanks @baloonpopper and @Calinou for the nitpicks)

Co-ayuthored-by: balloonpopper<5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-12-25 11:34:15 +05:30
Nathan Lovato
f68abde1e8 Write first script and player input pages
Closes #4173
2020-12-02 15:47:29 -06:00
Nathan Lovato
9f3f93912f Merge pull request #4403 from NathanLovato/content/first_3d_game_tutorial
Getting started: your first 3D game tutorial
2020-12-02 15:43:32 -06:00
Nathan Lovato
6cc90eb58f Write part 5 of the 3D first game tutorial, add reference 2020-11-25 14:02:05 -06:00
Hugo Locurcio
471618db61 Clarify that GDScript is not based on Python
This also fixes capitalization where "GDscript" was used instead of
"GDScript".

This closes #4378.
2020-11-19 14:57:12 +01:00
Nathan Lovato
b928c651e7 Add note about line skips in the style guide 2020-11-18 08:10:24 -06:00
Nathan Lovato
3665f22bab Edit the scripting section
Misc grammar fixes, improvements to phrasing, and more.

Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2020-11-10 08:18:44 -06:00
Nathan Lovato
7e7df1cc03 Merge class_name docs from scripting_continued.rst into gdscript docs 2020-11-07 23:23:19 -06:00
Nathan Lovato
a74cf9ac21 Fix two code lines wrapped in a single one 2020-10-10 21:44:27 -06:00
George Marques
e5d0fa4d67 Apply suggestions from code review
Include suggestions from Calinou

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-10 21:44:27 -06:00
George Marques
efbea16f01 Describe GDScript properties 2020-10-10 21:44:08 -06:00
George Marques
ec48a04a85 Update export docs to use annotations 2020-10-10 21:44:07 -06:00
George Marques
7f28694a94 Update GDScript basics doc to follow GDScript 2.0 2020-10-10 21:43:46 -06:00
Nathan Lovato
4272395ab7 Move scripting section to tutorials/
Closes #4113
2020-10-07 14:05:48 -06:00