Commit Graph
67 Commits
Author SHA1 Message Date
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 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
Rémi Verschelde 8a49da6da5 Fix internal links to use proper :ref: syntax 2018-12-13 12:05:35 +01:00
clayjohn 6dce55e70a add constant example 2018-12-07 23:08:11 -08:00
corrigentia 0fa68362af Fix some grammar in static_typing.rst (#1982) 2018-12-07 15:26:00 +01:00
corrigentia 674d24192b Update gdscript_format_string.rst 2018-12-06 14:11:13 +02:00
Rémi Verschelde c96dd3bb13 Merge pull request #1980 from corrigentia/patch-22
Correct idiom in gdscript_styleguide.rst
2018-12-05 16:16:18 +01:00
corrigentia 088974fbfc Fix some grammar in gdscript_advanced.rst (#1978) 2018-12-05 16:06:43 +01:00
corrigentia c31ca4063d Update gdscript_styleguide.rst 2018-12-05 16:59:16 +02: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 4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +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
Rémi Verschelde 2b6f6756f2 Merge pull request #1891 from aaronfranke/mul-div-rem
Simplify GDScript mul/div/remainder operator text
2018-11-20 09:56:30 +01:00
Vallentin cd4353790f Fixed typos (#1906) 2018-11-20 09:44:00 +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
Rémi Verschelde e3b9e56516 Fix capitalization of some headers 2018-10-25 15:52:04 +02:00
Nathan Lovato 12d589e0c7 Merge pull request #1848 from Vikram1323/patch-4
Update gdscript_advanced.rst
2018-10-16 13:10:46 +09:00
Vikram1323 3d9f98318d Update gdscript_advanced.rst 2018-10-15 20:03:38 +05:30
Vikram1323 5838266e00 Update gdscript_basics.rst 2018-10-15 13:52:06 +05:30
Max Hilbrunner d4fd0de7ae Merge pull request #1750 from cbscribe/kcc_signals_guide
Add Signals tutorial to "Step by step"
2018-09-22 16:40:05 +02:00
Michael Alexsander Silva Dias 5c25e67bbf Make new typed guide have the default syntax 2018-09-21 14:44:12 -03:00
Chris Bradfield 85d4e8757a Add Signals tutorial to "Step by step" 2018-09-21 08:25:55 -07:00
Nathan LovatoandGuilherme Henrique Teixeira de Oliveira 3515f10555 Add intro to typed gdscript
Same article as http://gdquest.com/tutorial/game-design/godot/gdscript/typed-gdscript/, ported to RST
@vnen reviewed the content already, and I improved the article based on
his feedback.

Co-authored-by: Guilherme Henrique Teixeira de Oliveira <htoguilherme@gmail.com>
2018-09-21 07:32:44 +09:00
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
Rémi Verschelde 243582d04f Merge pull request #1612 from AlexHolly/fix-string-format-example
added code view in table and added a new example for "no index"
2018-08-23 14:44:45 +02:00
Alexander Holland 17e8ca3d2c added code view in table and added a new example for "no index" 2018-08-20 16:29:40 +02: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
Profesor Tartelett 8032eca4d7 Probable typo. Changed Vector(x, y) to Vector2(x, y) 2018-06-03 13:02:52 +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
Max Hilbrunner bb593ef8cc Merge pull request #1431 from Omicron666/patch-4
Added escaped spaces to fix inline literals
2018-05-08 04:10:59 +02:00
Juan Linietsky 3fb71b620a Add is_instance_valid() to GDScript doc. 2018-05-07 19:15:46 -03:00
Bojidar Marinov 05a3d08533 Add array export hints to the docs
Refs godotengine/godot#16418, closes #326
2018-05-07 23:56:24 +03:00
Omicron 6d12ee18f1 Added escaped spaces to fix inline literals 2018-05-07 21:40:53 +02:00
mhilbrunner f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00