41 Commits

Author SHA1 Message Date
David Briscoe
692a64a773 Rename print_x_times to print_n_times in Cross-language scripting (#6143)
Change code to match the rest of the documentation. C# examples
use PrintNTimes and calls print_n_times, so change gdscript to match.
2022-09-06 18:19:39 +02:00
Hugo Locurcio
85f1af3820 Add VisualScript pending removal notice in Godot 4.0 2022-09-01 18:07:44 +02:00
Max Hilbrunner
5dd59a8030 Merge pull request #5985 from 31/dev/31/winbugs
Add notes for common C# bugs on Windows

(cherry picked from commit 420ed2739f)
2022-08-08 20:29:46 +02:00
Max Hilbrunner
1742018c25 Merge pull request #5983 from 31/dev/31/cli
Add "dotnet CLI" option to all C# editor docs

(cherry picked from commit 3f00b445e6)
2022-08-08 20:28:37 +02:00
Hugo Locurcio
f4f3e1926c Document that autoloads must not be freed to avoid crashes
(cherry picked from commit cb9b2b8c5d)
2022-08-08 17:58:21 +02:00
Pixelatex
4019a29546 Singletons tutorial has deprecated methods. (#6018)
* Singletons tutorial has deprecated methods.
2022-08-06 04:54:18 +02:00
31
a9330f9994 Remove "Core" from .NET SDK, simplify Mono mention 2022-07-25 21:33:22 +02:00
Jihad Khawaja
61be0eb5ec Documentation missing method keyword in C# fix
### Description
line 219 missing "Instance" after "scene."

### Issue
https://github.com/godotengine/godot-docs/issues/5942
2022-07-19 12:37:57 +03:00
Moté
bc4a9cb1ec Update Godot Kotlin link to point to newer implementation (#5921)
The makers did a new implementation that works better, according to them.
2022-07-11 20:26:02 +02:00
Rémi Verschelde
0de1fc3e5b Fix outdated comment about GDNative on HTML5
(cherry picked from commit 790c6ca532)
2022-06-08 13:25:52 +02:00
AndreKoscianski
3c55be914c Clarify instructions on managing groups (#5316)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit a4c360c66f)
2022-04-29 14:03:32 +02:00
Hugo Locurcio
a05f8138e1 Document GDNative add-on version compatibility being stricter than usual
(cherry picked from commit 4709121d02)
2022-04-29 13:40:36 +02:00
Micky
fab3319fa4 (3.x) Fix couple of missing # and // for comments in code examples
3.x backport of https://github.com/godotengine/godot-docs/pull/4360
2022-04-29 12:43:46 +02:00
Luis Adolfo Ramírez
864cf130a2 Fix typo in GDNative C++ example (#5761) 2022-04-13 00:45:24 +02:00
Dan-Gamin
3213cf7e88 Better explain advanced exports, script categories and groups (#5622)
* Make better explanation of advanced exports

Make better explanation of advanced GDScript exports because It was hard for me the first time I tried to do it it.

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2022-04-07 18:53:17 +02:00
Hugo Locurcio
6a3e6acde3 Clarify that Pool*Arrays are passed by value in Advanced GDScript
This also adds an explanation of "pass by value" and "pass by reference".
2022-03-28 16:28:54 +02:00
Harmony Honey
0a1bef0dd0 Add missing onready for NodePath usage in GDScript exports (#5694) 2022-03-17 02:44:27 +01:00
Hugo Locurcio
872f7aeb95 Remove references to NativeScript 1.0 in GDNative C++ example
NativeScript 1.1 has been supported in Godot 3.1 and later, which
means the latest version of the documentation doesn't need to
cover it anymore.

This also improves grammar and writing style.

(cherry picked from commit 440141e494)
2022-03-11 14:22:57 +01:00
Matthew
5cc735cdea Update and improve VS Code setup instructions (#5501)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit d17c415009)
2022-03-11 14:22:57 +01:00
Matthew
fe097dcd65 Clarify singleton read order (#5457)
* Clarify singleton read order

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit f1ff320f06)
2022-03-11 14:22:57 +01:00
Ivorius
79d82a769f Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example
(cherry picked from commit d85e844a94)
2022-03-11 14:22:57 +01:00
Victor Karp
eb0e81795e Add missing closing quotation marks in GDScript format strings (#5583) 2022-02-05 21:23:24 +01:00
Haoyu Qiu
4e8197220e Fix description of adding class icon in 3.4 2022-01-26 09:41:42 +08:00
Hugo Locurcio
b99deb0558 Add a page on evaluating expressions using the Expression class
This is a 3.4 backport (with identical contents) of the `master` branch
page, with fixes included.
2021-12-03 17:04:39 +01:00
Nathan Lovato
8efde7f69f address all reference errors after backporting changes to 3.4 branch 2021-11-25 18:29:49 -06:00
Nathan Lovato
e2d349c116 fix warnings with files not appearing in any table of contents 2021-11-24 20:52:30 -06:00
Nathan Lovato
e5197b493e 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/
2021-11-24 10:34:31 -06:00
Nathan Lovato
6ea7a7ca91 Add note about line skips in the style guide 2021-11-24 10:34:05 -06:00
Nathan Lovato
da472d0007 Update tutorials/scripting/groups.rst
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2021-11-24 10:33:36 -06:00
Nathan Lovato
ec8571a81c Improve nodes_and_scene_instances.rst
Based on review notes, add pictures to illustrate renaming a node and
how a node leaves the remote scene tree at runtime after calling free()
or queue_free()
2021-11-24 10:33:32 -06:00
Nathan Lovato
85b8565cef Edit the scripting section
Misc grammar fixes, improvements to phrasing, and more.

Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2021-11-24 10:33:27 -06:00
Nathan Lovato
5450fa236c Write and edit overridable_functions.rst, remove scripting_continued.rst 2021-11-24 10:33:22 -06:00
Nathan Lovato
5a21563707 Merge class_name docs from scripting_continued.rst into gdscript docs 2021-11-24 10:33:18 -06:00
Nathan Lovato
47b0008cc0 Write nodes_and_scene_instances.rst from scripting_continued.rst
Rewrote the docs
Added an intro section about getting nodes and syntactic sugar
2021-11-24 10:33:14 -06:00
Nathan Lovato
b88d9da9a3 Move and rewrite groups.rst from sripting_continued.rst 2021-11-24 10:33:10 -06:00
Nathan Lovato
cc55022886 Add idle_and_physics_processing.rst, write scripting/index.rst 2021-11-24 10:33:04 -06:00
Nathan Lovato
dacee416da Move debug section to Scripting
Closes #4110
2021-11-24 10:30:21 -06:00
Nathan Lovato
6bca7ed4d6 Move plugins/gdnative to scripting/
Closes #4114
2021-11-24 10:30:15 -06:00
Nathan Lovato
9785bff959 Move remaining pages in getting_started/scripting after rebase 2021-11-24 10:27:33 -06:00
Nathan Lovato
bed21dbc1a Move three pages from misc/ to scripting/ 2021-11-24 10:26:57 -06:00
Nathan Lovato
6d8fbe38ea Move scripting section to tutorials/
Closes #4113
2021-11-24 10:25:06 -06:00