Commit Graph

29 Commits

Author SHA1 Message Date
Hugo Locurcio
669c163135 Add a GDScript style guide recommendation for multiline wrapping 2021-07-29 15:30:21 +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
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
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
DeeJayLSP
931e3087c3 Change text to avoid use of first person in Static typing in GDScript (#4953) 2021-06-04 00:25:25 +02:00
Hugo Locurcio
ea7814b25c Add a "see also" link to the GDScript grammar in the GDScript section
The page is in the Development section, but it's not easy to discover.
2021-04-23 18:49:09 +02:00
saolof
6377b21b22 Update gdscript_advanced.rst 2021-04-22 06:42:29 -04:00
saolof
5cf04ee69c Update gdscript_advanced.rst 2021-04-21 19:55:50 -04:00
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