Commit Graph

281 Commits

Author SHA1 Message Date
Max Hilbrunner
0ecdd19c3f Merge pull request #3892 from ThakeeNathees/gdscript-documentation-comments
Documentation for the GDScript documentation comments
2021-07-12 13:45:13 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Hugo Locurcio
8505b713a2 Document nested ternary-if usage example in GDScript reference 2021-07-07 01:47:25 +02:00
Max Hilbrunner
6f2bf43c5f Merge pull request #4857 from saolof/patch-1
Minor change to section on for loop syntax
2021-07-06 08:36:25 +02:00
BlueStag
a090a578fb Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-01 08:06:13 +02:00
Vladislav Vorobev
9ffebd0812 Fixed class_name keyword ordering in GDScript style guide
Fixes two examples to follow rules described in "Code order" section of this page.
2021-06-25 12:05:50 +03:00
hpnrep6
3c1596e4a9 Add C# variant tab to Pausing games example (#5011)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-18 03:58:28 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
DeeJayLSP
939719f9eb Fix class reference link on C# features
Fixed a misplaced double back quote that is supposed to be a class reference link on C# features page
2021-06-03 21:03:37 -03:00
DeeJayLSP
931e3087c3 Change text to avoid use of first person in Static typing in GDScript (#4953) 2021-06-04 00:25:25 +02:00
Rémi Verschelde
c875cfb906 Merge pull request #4895 from skyace65/GDSimple
Fix GDNative C example
2021-06-02 11:26:15 +02:00
Hugo Locurcio
6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
horhorou
d8eca54e0c Update creating_script_templates.rst
Using Ubuntu and after trying on two different machines. I just want to specify that for Linux the template script files are not listed in the .local/share/godot folder but in .config/godot/.
If someone can confirm on other linux OS 😄 
It will allow other people who like me since version 3.0 use scripts_templates in the project root .😭
2021-05-24 20:48:20 +02:00
Nathan Lovato
49022c2e65 Merge pull request #4251 from willnationsdev/godot-api
Add 'How to read the Godot API' docs.
2021-05-14 11:05:13 -06:00
hakankaraduman
013ff59734 Fix "physics time" instead of "physics frame" in The Profiler (#4899) 2021-05-10 14:48:08 +02:00
skyace65
3635d341e2 Fix GDNative C example 2021-05-05 21:46:43 -04:00
swift502
3740276d38 Fix broken C# tab in Resources scripting tutorial 2021-04-25 14:54:28 +02:00
Hugo Locurcio
ea7814b25c Add a "see also" link to the GDScript grammar in the GDScript section
The page is in the Development section, but it's not easy to discover.
2021-04-23 18:49:09 +02:00
saolof
6377b21b22 Update gdscript_advanced.rst 2021-04-22 06:42:29 -04:00
saolof
5cf04ee69c Update gdscript_advanced.rst 2021-04-21 19:55:50 -04:00
saolof
15bcf71083 Minor change to section on for loop syntax
The C-like for loop is specific to languages that wanted to copy C syntax and has nothing to do with static vs dynamic typing. Most new languages do not have it and have a foreach loop over iterators instead, regardless of whether they are statically typed or not.
2021-04-21 18:53:34 -04:00
golddotasksquestions
d4b7b9ec6f Removing " a" (singular) in front of "ViewportContainers" (plural)
This is basically a test for me in order to learn how to properly submit PRs, while also doing something tiny bit useful.

My 4th attempt at doing this correctly. This time from separate branch to master :)
2021-04-17 13:33:36 +02:00
skyace65
9e4b4db40f Improve VSCode and VS C# instructions 2021-04-03 20:15:25 -04:00
31
6e96d8d262 Update C# Connect method: binds is a Godot array (#4777) 2021-03-23 19:20:43 +01:00
willnationsdev
7d66fa2ec8 Add 'How to read the Godot API' docs. 2021-03-20 18:39:00 -05:00
31
8c55f98736 Polish new sentence about restoring NuGet packages 2021-03-20 11:37:57 -05:00
31
eb10a49864 Simplify C# NuGet package doc to match 3.2.3+ 2021-03-20 11:20:51 -05:00
Rémi Verschelde
ca41df2fd0 Merge pull request #4597 from skyace65/weakref
Add code example for weakref
2021-03-19 13:16:34 +01:00
Matthew
2a4dcc40d6 Add information on onready annotation to C# differences page (#4565) 2021-03-19 12:46:23 +01:00
Nat Quayle Nelson
168e56843b Add missing "use" in "use as" in Nodes and scene instances (#4749) 2021-03-13 18:52:16 +01:00
Bengt Söderström
1a1f4c5b76 Renamed directory godot_headers to godot-headers in GDNative SConstruct (#4714)
Fixes GDNative compile error caused by directoy name change in godot-cpp repository.
2021-03-03 23:50:29 +01:00
Hugo Locurcio
7321b5b914 Add missing C++17 flag for Windows build in GDNative SConstruct (#4709)
This matches macOS and Linux.
2021-03-03 15:15:03 +01:00
Nathan Lovato
ee248ba218 Merge pull request #4585 from Calinou/filesystem-remove-untested-vcs
Remove mentions of Perforce and PlasticSCM as they're seldom tested
2021-02-26 14:45:33 -06:00
Hugo Locurcio
6ebe74850a Highlight requirement to have an _init function in GDNative C++ example 2021-02-19 21:54:43 +01:00
Ignacio Roldán Etcheverry
1c8ae020a8 Merge pull request #4560 from aaronfranke/cs-setup
Improve C# setup instructions
2021-02-18 02:04:46 +01:00
RoniPerson
b1bf4a93e3 Add a note to set default values for custom resources (#4650)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-16 17:12:37 +01:00
Carl
3f3e203bdd Fix CSharp instanciation example (#4618) 2021-02-02 14:36:11 +01:00
Aaron Franke
a0b153b2f2 Improve C# setup instructions 2021-01-30 05:47:33 -05:00
skyace65
4f19eea5c9 Add code example for weakref 2021-01-28 22:30:24 -05:00
Hugo Locurcio
491092b311 Remove mentions of Perforce and PlasticSCM as they're seldom tested 2021-01-26 14:13:42 +01:00
Fabio Colella
be6e3c1e30 Fix :ref: link typo in C# basics (#4552) 2021-01-17 13:24:59 +01:00
humboldt123
df8a6edc15 Fix C# code for changing scene (#4523) 2021-01-07 14:28:54 +01:00
Rémi Verschelde
c58522e38f Merge pull request #4501 from Calinou/fix-nodes-resources-image-background
Add a white background to the nodes/resources image
2021-01-04 16:56:53 +01:00
Rémi Verschelde
01f137830e Merge pull request #4348 from van800/rider
Update Rider prerequisites to match Godot 3.2.3+
2021-01-04 16:53:37 +01:00
Nex
c52ddd9c4b Add commas to improve readability in GDNative C++ example (#4513)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-01-03 06:22:19 +01:00
Hugo Locurcio
0137ca1ec3 Add a white background to the nodes/resources image
This closes #4500.
2020-12-30 13:20:27 +01:00
Thakee Nathees
6fac7f0d8d documentation for the GDScript documentation comments
(thanks @baloonpopper and @Calinou for the nitpicks)

Co-ayuthored-by: balloonpopper<5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-12-25 11:34:15 +05:30
Ivan Shakhov
111b3d9ac0 Update external editors prerequisites to match Godot 3.2.3+ 2020-12-05 11:30:08 +01:00
Nathan Lovato
d0eb1eb6bc Move remaining files out of step_by_step/
Moved those to scripting/:

- filesystem
- resources
- singletons_autoload
- scene_tree

export to export/

and godot_design_philosophy to introduction/
2020-12-02 20:31:01 -06:00
Nathan Lovato
f68abde1e8 Write first script and player input pages
Closes #4173
2020-12-02 15:47:29 -06:00