Commit Graph
26 Commits
Author SHA1 Message Date
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 Lovatoandballoonpopper 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 Lovatoandballoonpopper 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