Commit Graph
45 Commits
Author SHA1 Message Date
Rémi Verschelde a16e10538f Merge branch 'master' into 3.2 2020-09-28 15:43:06 +02:00
bmolyneaux 3192b46a0a Correct .has() to .has_method() 2020-09-27 20:02:50 -04:00
Rémi Verschelde e337af304f Merge branch 'master' into 3.2 2020-09-09 13:02:26 +02:00
Nathan LovatoandAaron Franke de9d9bf06a Fix errors in What are Godot classes
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-09-06 14:15:30 -06:00
Nathan Lovato fe959a18a0 Edit "What are Godot classes"
Changes:

- Simplify the article
- Change the title to better reflect the guide's point
- Try to make it clearer that scripts and scenes are not actually
- classes, but rather to be thought of as if they were classes in an OO
- language; OO principles apply to them
- Move section about the performances of scripts vs PackedScene to scenes_versus_scripts.rst
2020-09-06 08:15:24 -06:00
Rémi Verschelde 76cf11c890 Merge branch 'master' into 3.2 2020-07-30 17:14:54 +02:00
BinotaLIU 0731cc869c fix: section level
fix section level so it won't mess up the sidebar.
2020-07-07 23:34:54 +08:00
Rémi Verschelde d48ff2b0a1 Merge branch 'master' into 3.2 2020-07-06 14:30:28 +02:00
baldanders-skulltuna 5d71ffa6ec C# spelling fix: Capitalize Load (#3734)
Capitalize `Load` in Anonymous Types C# Code Example
2020-06-27 14:37:30 +02:00
Rémi Verschelde 223570eb13 Merge branch 'master' into 3.2 2020-06-26 13:29:38 +02:00
willnationsdev cb6227e14e Remove error that Dictionary starts with 1000 records. 2020-06-23 08:36:59 -05:00
Rémi Verschelde 80957b8581 Merge branch 'master' into 3.2 2020-06-22 13:05:41 +02:00
Justin c56b36c897 Add minor doc improvements 2020-06-06 18:44:51 +02:00
Rémi Verschelde 10f20b00cb Merge branch 'master' into 3.2 2020-05-20 15:08:42 +02:00
Mochii Moth a16f29d628 Fixed typo
Changed "then" into "when" on line 19.
2020-05-17 09:37:51 -04:00
Hugo Locurcio d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Andrii DoroshenkoandMax Hilbrunner 387882f458 Document GDScript export category and property grouping (#3444)
* Document GDScript export category and property grouping

* Update getting_started/scripting/gdscript/gdscript_exports.rst

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2020-05-04 16:26:18 +02:00
Rémi Verschelde c0cc4698f8 Merge branch 'master' into 3.2 2020-04-27 09:58:35 +02:00
Max Hilbrunner b935b0fd5b Merge pull request #3358 from Calinou/best-practices-clarify-enum-string
Clarify how string enums are created in the Data preferences page
2020-04-26 18:10:38 +02:00
Rémi Verschelde 48faee9f73 Merge branch 'master' into 3.2 2020-04-17 19:09:11 +02:00
Cody 801998c853 Small grammatical error fix for readability (#3377) 2020-04-12 22:53:37 +02:00
Hugo Locurcio e538104ac2 Clarify how string enums are created in the Data preferences page 2020-04-09 19:10:44 +02:00
Hugo Locurcio 32d9019e5e Always use parentheses when calling assert() in GDScript
This is now required since Godot 3.2.

This also adds an assert message to the Godot interfaces page to match
its C# counterpart.
2020-04-09 14:46:36 +02:00
Felype Rennan 2d09280efc Fix in the C# code example
The keyword `extends` is used in Java to extend/inherit from another class, but in C# the correct syntax is just the colon mark `:`
Also rectified one part of the code where the example is extending from Object, although it would not cause any trouble, all classes in C# already derive from `Object`  by default.
2020-03-31 18:43:58 -03:00
Yuri Sizov 075acc61b0 Replace Pool*Arrays with Packed*Arrays in tutorials and references 2020-03-17 11:15:34 +03:00
Yuri Sizov 37604be65f Improved keystroke formatting for shortcuts and key press menti… (#3257) 2020-03-09 23:50:53 +01:00
Nathan Lovato 10f0d0a8e0 Remove duplicate period, fix typos 2019-12-21 14:08:22 +01:00
Rémi Verschelde c15b1eb996 Merge pull request #2998 from NathanLovato/best-practices-improvements
Proof best practices: autoloads_versus_internal_nodes
2019-12-21 13:38:28 +01:00
Nathan Lovato 6961fc1151 Improve the clarity and fix typos in autoloads versus internal nodes 2019-12-21 12:32:39 +01:00
Rémi Verschelde e23ee5b081 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-12-06 22:07:59 +01:00
Nathan Lovato 19f20d3787 Proof and edit autoloads_versus_internal_nodes 2019-10-14 16:32:53 +02:00
Rémi Verschelde 6b2dee0c47 Fix rst formatting issues that confuse pandoc 2019-07-26 13:24:50 +02:00
Nathan Lovato 791cd1941a Fix two syntax errors in Best Practices 2019-07-18 15:50:24 +02:00
Rémi Verschelde 950b832452 Merge pull request #2597 from GDquest/best-practices-intro-edits
Simplify best practices intro and "what are Godot classes?"
2019-07-18 08:49:22 +02:00
Nathan Lovato 9f7b8e81d2 Simplify best practices intro
- Add structure to the article, and a few sections
- Use simpler computer science or programming terms
- Use more accessible english
- Favor direct voice, present tense

I also removed a few sentences that either only asked rethorical questions that
I felt weren't necessary with the following explanations, and one or two
technical details that felt unecessary for users.
2019-07-18 08:39:24 +02:00
Remi Rampin 91897778b2 [Minor] Fix "it's" that should be "its" (#2595)
* Fix "it's" that should be "its"

* Other fixes
2019-07-15 17:44:07 +09:00
Michael Alexsander Silva Dias fcb174bc1b Small formatting fixes for the "Best Practices" section 2019-05-16 23:23:08 -03:00
Remi Rampin 2048edd17f Fix references 2019-03-25 13:47:32 -04:00
Hugo Locurcio 87d81b9d4a Fix various typos 2019-03-20 01:03:48 +01:00
Ignacio Etcheverry a129652342 Fixes and improvements of C# code examples 2019-02-18 22:08:01 +01:00
FabiánLC b6ffae6da1 Fixed the C# example code in best_practices/logic_preferences (#2196)
* Fixed the C# example code. The old code didn't compile.
* added missing res:// to the load calls
* Added a C# example of storing a resource in a readonly field
2019-02-18 19:55:25 +01:00
Will Nations 37acedc2ac Remove references to Performance singleton. 2019-02-12 09:50:53 -06:00
Rémi Verschelde c344f8d801 Misc style fixes 2019-02-10 13:38:13 +01:00
Michael Alexsander Silva Dias d99cd76c62 Numerous fixes to the new "Best practices" section 2019-02-09 22:02:49 -02:00
Will Nations e8289b93f3 Add "best practices" documentation. 2019-02-08 14:03:04 -06:00