Commit Graph
248 Commits
Author SHA1 Message Date
Hugo Locurcio 4f6fdbc710 Fix various spacing and capitalization issues 2020-05-18 09:54:32 +02:00
Max HilbrunnerandJacob Gray b24b9ad9a5 GDScript basics: improve match explanation
Co-authored-by: Jacob Gray <jacopo.grayscale@gmail.com>
2020-05-17 18:33:21 +02:00
mechPenSketch e7a7e11c42 Expand Resource section (#3543)
* Expand Resource section

Added how you can export classes that inherits from Resource as a convenience.
2020-05-17 16:20:36 +02:00
Max Hilbrunner be931dc655 Merge pull request #3546 from Calinou/gdscript-warning-system-split
Split the GDScript warning system documentation into its own page
2020-05-17 15:55:50 +02:00
Hugo Locurcio 9e57202866 Split the GDScript warning system documentation into its own page
It's not strictly related to static typing, as it can work without it
(e.g. to signal unreachable code).
2020-05-17 01:01:59 +02:00
Hugo Locurcio d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Max Hilbrunner 54f2ef4ba2 GDScript: Add type casting to the precedence table 2020-05-14 18:03:05 +02:00
mtttz c7719aa020 Replace outdated 'GDScriptFunction' identifier with 'GDScriptFunctionState' in example code 2020-05-12 23:47:50 +02:00
Hugo Locurcio 0cba774249 Mention Object bracket property access and dynamic property indexing
This closes #3506.
2020-05-08 17:28:49 +02:00
Hugo Locurcio a53ab27329 Add file name conventions in the GDScript style guide (#3355)
This closes #2376.
2020-05-04 19:07:29 +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
Michael Alexsander e4f6430262 Make more snippets in GDScript basics page follow the styleguide (#3487) 2020-05-03 15:22:42 +02:00
Max Hilbrunner fb45e50509 Merge pull request #2644 from Xrayez/gdscript-coroutines-completed
Elaborate on yielding to `completed` signal in GDScript basics
2020-05-03 01:00:03 +02:00
Max Hilbrunner e06888b372 Merge pull request #3468 from Calinou/mention-cross-language-inheritance
Mention the lack of support for cross-language script inheritance
2020-05-03 00:06:45 +02:00
8ea31de5ef Added documentation for drag-and-drop support for exported arrays (#3480)
* Added documentation for drag-and-drop support for exported arrays

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-05-02 22:32:02 +02:00
mechPenSketch b844c946d9 Expand NodePath hints, added Resource hints to GDScript exports (#3473) 2020-05-02 14:03:24 +02:00
Hugo Locurcio a492d292b9 Mention the lack of support for cross-language script inheritance
See https://github.com/godotengine/godot/issues/38352.
2020-04-30 20:16:35 +02:00
Rémi Verschelde e6b00ca97a Misc formatting fixes 2020-04-27 12:17:47 +02:00
Yuri Sizov 135b33b768 Replace British spelling and fix various typos 2020-04-27 12:18:52 +03:00
Rémi Verschelde e4237e2948 Misc fixes to recent merges 2020-04-27 09:58:08 +02:00
Rémi Verschelde 62a697670d Merge pull request #3385 from van800/master
Setting up Godot with Rider on Windows
2020-04-26 19:47:18 +02:00
Ivan.Shakhov 6d00fee2ed Setting up Godot with Rider on Windows 2020-04-26 18:26:13 +02:00
Max Hilbrunner 7d262cfd4f Merge pull request #3431 from skyace65/VSCodeDebug
Add debug instructions for VSCode
2020-04-26 18:00:47 +02:00
Andrii Doroshenko 7e3c39641a Document script templates creation and management (#3439) 2020-04-25 12:28:55 +02:00
skyace65 df61fffe1b Add debug instructions for VSCode 2020-04-23 10:49:08 -04:00
Michael Alexsander fec78c3c04 Fix some more errors 2020-04-17 16:43:12 -03:00
Rémi Verschelde 706e3b8f28 Merge pull request #3398 from Calinou/gdscript-export-tool-script
Document how to update the inspector after setting an exported variable
2020-04-17 18:56:03 +02:00
Hugo Locurcio d2a420b3a8 Document how to update the inspector after setting an exported variable
This closes https://github.com/godotengine/godot/issues/21009.
2020-04-17 12:06:38 +02:00
Hugo Locurcio 046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Hugo Locurcio 8e0caddac3 Fix typos found using codespell -wi3 ^classes/**/*.rst 2020-04-16 21:01:09 +02:00
Max Hilbrunner 72dd918165 Merge pull request #3386 from Calinou/style-guides-variables
Add advice about local variables in the GDScript and C# style guides
2020-04-16 03:21:55 +02:00
Jummit 8a7cf6f79f Add custom VisualScript node tutorial (#3289) 2020-04-15 16:47:58 +02:00
Hugo Locurcio ac4c28d279 Add advice about local variables in the GDScript and C# style guides 2020-04-15 11:45:23 +02:00
Frederick Kramer Dal Pra efa4e6ef5f Safe line vs Unsafe line unclear label (#3366)
Although line 6 is safe, line 7, that actually is what the paragraph talking about, is unsafe and line 8 is safe.
The way it was before, it was in reverse order, making it confusing which is safe and which is not. So I changed the order to be as the picture.
To further assure it is clear, I added the line numbers in parentheses.
The parentheses could be excessive verbosity, but the order importance stands. I believe it was confusing before.
Alternatively, the picture could be changed, having the safe line first. Then it's clearer as the unsafe line it's the only one different and the order would be also correct; 2 safe lines, one unsafe for last. Specifying the lines would not be needed then.
2020-04-12 13:58:40 +02:00
Hugo Locurcio 62725b30f1 Move the GDScript history to the FAQ, reference it in GDScript basics 2020-04-09 16:24:31 +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
Guillermo Fuchter 8a345e8d78 Updated Mono supported export projects (#3340)
* Updated Mono supported export projects

Added Android and HTML to the list

* Added iOS to the list of supported export projects

Added iOS to the list of supported export projects for Mono C#
2020-04-04 20:11:53 +02:00
Hugo Locurcio 6fb8d9b5de Rename all instances of the x11 platform to linuxbsd
Export template binaries haven't been renamed yet, so their names
were left as-is.
2020-04-01 09:15:45 +02: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
Michael Alexsander 95784cf94f General formating fixes for GDScript scripting pages (#3248) 2020-03-06 20:28:58 +01:00
Michael Alexsander 3f9c09fbf7 Small fixes for recent formating errors (#3247) 2020-03-06 13:51:11 +01:00
Jason Swearingen 5b9558f6ca Update docs regarding current Nuget workflow (#3038)
highlighting proper workflow as per my discovery here: https://github.com/godotengine/godot/issues/34803#issuecomment-570752688
2020-03-04 09:35:20 +01:00
Johannes Witt 1eab94c72d Added looped Coroutine Example to GDScript Basics (#2586) 2020-03-03 22:28:56 +01:00
Aaron Franke 3c99a213ae Document Godot preprocessor defines 2020-02-18 02:21:46 -05:00
Rémi Verschelde e60bb57b4b Mono: Mention that log profiler is Unix-only for now
Cf. godotengine/godot#29005.
2020-02-17 14:45:33 +01:00
Michael Alexsander 91df8e4ed2 Apply minor fixups to the GDScript styleguide 2020-02-05 22:19:23 -03:00
Rémi Verschelde 1df5a0ae68 Merge pull request #3061 from asynts/asynts.syntax-highlighting-2
Incorrect syntax highlighting for languages other than GDScript.
2020-01-27 08:39:00 +01:00
Marincia Catalin 37670ff9e4 Replaced wrong semicolon by a colon ! 2020-01-23 23:31:35 +02:00
Michael Alexsander ecc41a15f4 Fix trailing comma examples in style guide page 2020-01-23 16:00:31 -03:00