Commit Graph
63 Commits
Author SHA1 Message Date
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
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
Rémi Verschelde dc2dfb6224 Fix escaping plural 's' after inlined code
Also add missing inline code formatting to Custom drawing in 2D.
2018-12-13 15:02:07 +01:00
clayjohn 6dce55e70a add constant example 2018-12-07 23:08:11 -08:00
corrigentia 89173c8d60 Fix miscellaneous errors in gdscript_basics.rst (#1976) 2018-12-05 15:54:23 +01:00
corrigentia 079f43d19c Update gdscript_basics.rst 2018-12-04 22:43:06 +01:00
Rémi Verschelde a0e32ac017 Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently.
The only exception is for C++ code which is tab-indented, as the engine code.
2018-11-20 11:02:11 +01:00
Aaron Franke 35235a1d28 Simplify mul/div/remainder operator text
IMO this is a much better description. It's to the point, and if anyone has further questions, they can look up how the C++ operators work.
2018-11-08 23:08:53 -05:00
Vikram1323 5838266e00 Update gdscript_basics.rst 2018-10-15 13:52:06 +05:30
Rémi Verschelde acfd853ad4 Networking: Replace sync and slave keywords by their 3.1 equivalents 2018-09-15 03:19:52 +02:00
George Marques beeb85521e Add information about typed GDScript 2018-09-04 14:22:47 -03:00
Nathan Lovato 5c21900fb4 Fix typos in recent proof of the class_name feature intro 2018-08-17 20:15:57 +09:00
FeralBytes 32d0fe5465 Update GDscript operators. (#1645)
* Update GDscript operators.

Fixes #1524

* Change $ to be shorthand for get_node()

* Added missing code tags
2018-08-15 19:39:39 -07:00
Nathan Lovato 313b5becd2 Proof class_name PR by Will, add extra picture 2018-08-16 08:38:14 +09:00
Will Nations af7625768f Add script class docs 2018-08-15 13:39:54 -05:00
Ryan 5b0bcbaf7c Fixed script block
A script block was not displaying correctly due to incorrect indentation
2018-07-31 10:33:59 -04:00
Michael Alexsander Silva Dias 26bd899dad Fix section links in the 'Configuring an IDE' page 2018-06-21 18:32:43 -03:00
Răzvan C. Rădulescu 92746cd835 Fix second argument missing default value in _init declaration 2018-06-20 15:49:17 +02:00
Răzvan Cosmin Rădulescu cdb04689c5 documentation on inheritance and constructors
Tried covering the possible scenarios with an example. It probably needs
some more refinement
2018-06-20 12:12:37 +02:00
None f064e4f7a7 Fix 404s, some redirects and some broken links. 2018-05-30 16:49:21 -07:00
Michael Alexsander Silva Dias 067063bbe3 Placed XML in the C# introduction page inside code blocks, and tweaked the comments in the GDScript page. 2018-05-26 14:27:26 -03:00
Zirak c7a230410f Update gdscript_basics.rst 2018-05-26 09:04:31 +00:00
Zirak 1f3275622d Demonstrate coroutine's completed signal
Apologies again for the spam.
2018-05-25 19:06:09 +00:00
Max Hilbrunner 1626ad6598 Merge pull request #1435 from bojidar-bg/godot-16418-arrays-of-resources
Add array export hints to the docs
2018-05-08 18:56:55 +02:00