Commit Graph
39 Commits
Author SHA1 Message Date
Pawel Kowal 5ca1e43cd6 for statement iterating through String characters
(cherry picked from commit f7cfd22af4)
2017-03-23 08:46:21 +01:00
Rémi Verschelde f1a359542c Remove references to 2.2+ features, stick to 2.1.x here 2016-10-07 17:46:08 +02:00
Bojidar Marinov f11f60e21f Explain enums and mention ternary-if in GDScript reference 2016-09-23 12:00:28 +03:00
Juan Linietsky b2e32a1322 Update gdscript.rst 2016-08-06 22:27:58 -03:00
Juan Linietsky 324b42da24 Update gdscript.rst 2016-08-06 22:27:32 -03:00
Rémi Verschelde 4fdbdd256c GDScript: Comment out part about multiline comments
Should fix #89.
2016-07-15 10:27:23 +02:00
eska 2f905849ce Document GDScript format strings 2016-06-30 15:28:39 +02:00
Dennis Brakhane dc589e1766 describe negative indexing
implemented in PR #4861
2016-06-02 23:24:39 +02:00
eska 05901d0b7f Tidy up GDScript reference 2016-04-29 04:08:20 +02:00
buckle2000 f3ab25d091 Wording: use inner class instead of subclass
* Update gdscript.rst

* Update gdscript.rst

* Update gdscript.rst
2016-04-19 15:25:09 +02:00
Josh Grams 464c60f19d reference/gdscript: clarify for-loop values. 2016-04-03 07:30:02 -04:00
Julian Murgia 70233db4c9 Added list of keywords in GDScript page. Fixes #88 2016-03-22 22:51:21 +01:00
Oleh Prypin fb8d65d439 Fix code formatting in GDScript doc 2016-03-17 22:19:40 +02:00
Ignacio Etcheverry 11a6ae667e Fix inconsistencies with the signals reference 2016-03-15 12:14:44 +01:00
Griatch 838f1db5c2 After discussions, removed the Scene section 2016-03-13 09:33:49 +01:00
Griatch aab5d7b868 Added a section on Scene loading
Added a section on loading/instancing and child-adding Scenes in GDScript since this is not covered by the Instancing tutorial (which only deals with the GUI way).
2016-03-10 17:39:40 +01:00
Griatch eb7cb8608d Updated heading structure
Made fixes in response to @akien-mga's comments.
2016-03-09 14:27:21 +01:00
Griatch 6fe8e22d91 Added more examples to function reference section. 2016-03-07 16:21:45 +01:00
Griatch c0d30dbfad Clarified function refences
I updated the section on function referencing to (hopefully) properly explain the way it works and what the limitations are.
2016-03-05 21:01:59 +01:00
Griatch 00eb258ad9 Clarified the difference between dict styles
Clarified the syntax for the lua-style dict vs the "normal" one. Also noted the limitation of not being able to add digits as keys in lua style.
2016-03-05 20:41:26 +01:00
Griatch 4a73bb2635 Further minor rephrasing. 2016-03-04 13:44:57 +01:00
Griatch 51283daa2e Fixed some minor typos in text.
Fixed some minor formatting errors in setter/getter section.
2016-03-03 23:16:01 +01:00
Griatch 126fce12e7 Fixed comments from esca014 etc.
Fixed comments by @esca014. Also did some cleanup of the setter/getter section.
2016-03-03 23:11:45 +01:00
Griatch 3815665635 Some minor rephrasing of the introduction.
Mainly to shorten sentences and clear up some phrasing. Also added an external reference to Python.
2016-03-03 19:27:54 +01:00
Griatch b5470b83af Fixed a missing line break for an example. 2016-03-03 19:03:54 +01:00
Griatch 8231eb5c4e Refactoring of the gdscript documentation
I went over the basic gdscript documentation and tried to clarify as well as restructure it to be a little clearer for me as a newcomer to the language. Some of the changes: 

- I added external wikipedia references to some concepts. 
- I grouped all Array types (`IntArray` etc) as a list under the `Array` heading since these are arguably just special cases of the general Array structure. This also lead to the dictionary not being mixed up with arrays in the text. 
- There are two syntaxes for dictionaries (: and =), I gave them comparable examples since it seems clear they are analogous). 
- I gathered all the various peculiarities of Functions and function references in one place. Note that the function-referencing section needs the eye of someone more experienced with GDScript to make sure I didn't messed up. I think there is still some confusion about just when `class.function` syntax works and when it does not (when `call` or `funcref` are necessary). 
 - I removed a lot of same-level headings, for example the various aspects of Classes as sub-headings to the Classes heading. My impression is that this makes it easier to track where one is. 
- Did some overall rephrasing and slimming of filler text. This was largely colored by where I felt the text unclear to my current level of understanding. An experienced eye is needed to verify so that the changes are factually ok.
2016-03-03 18:53:20 +01:00
Griatch 122cb8d408 Updated comments to use capital letters as per PEP8. 2016-03-03 16:11:15 +01:00
Griatch d4238d0354 Refactored code comments to fit in code blocks
Example code blocks will not introduce auto-line breaks, which will mess up PDFs and give annoying horizontal scroll bars in example code. Refactored all comments in gdscript.rst to be horizontally shorter for this reason. Also made some rewording for clarity.
2016-03-03 16:07:34 +01:00
Mohammad Hadi Aliakbar 1ef73d6bfc Update gdscript.rst 2016-02-26 19:57:41 +03:30
Rémi Verschelde 2503364927 Add missing content from OP
Looks like I had kept my testing imports for the "advanced topics"
and forgot to replace them by the files from the newer snapshot.
We should now have 100% of the OP contents (+ what was added only
in this repo).
2016-02-19 19:24:11 +01:00
Dana Olson 59d47c6e08 added Onready keyword section
taken from old openproject docs
2016-02-16 13:25:08 -05:00
eska 0f4a5ae4ee Fix character references 2016-02-11 18:39:20 +01:00
Rémi Verschelde 411a9e5ce6 Drop extraneous escapes before underscores 2016-02-10 18:57:06 +01:00
Rémi Verschelde 948eaa07fe Fix all paragraphs parsed as lineblocks by pandoc 2016-02-09 23:40:35 +01:00
Rémi Verschelde 8ae833f701 Fix links to classes 2016-02-09 23:03:27 +01:00
Rémi Verschelde 2a7ab71a60 Fix most internal links 2016-02-08 23:45:57 +01:00
Rémi Verschelde 91a4bcc5e1 Add a unique reference tag to all pages 2016-02-08 22:07:55 +01:00
Rémi Verschelde dbc64c13cc Reorder the scene tree and TOC to be so much more cooler 2016-02-08 18:31:35 +01:00
Rémi Verschelde b1ae87dade Finish importing full OP contents 2016-02-08 18:24:54 +01:00