Commit Graph

490 Commits

Author SHA1 Message Date
TheYellowArchitect
795df857cb Added enum iteration example 2023-12-10 20:32:57 +02:00
Phlegmlee
d6eb215d19 Removed duplicate line.
The line below is redundant, it exits on line 141 - 142 and therefore isn't needed on 159.

 ## The description of a constant.
    const GRAVITY = 9.8
2023-12-05 14:36:50 -06:00
Hugo Locurcio
8a52cac55b Update documentation changelog for 4.2 2023-12-03 18:15:15 +01:00
Paul Joannon
eb13caffd7 Change the note about disconnecting C# signals 2023-11-29 17:46:19 +01:00
Max Hilbrunner
45051e178b Merge pull request #8505 from pseidemann/patch-2
add missing override modifier for _process()
2023-11-25 19:27:08 +01:00
Matthew
daf78ddf52 Merge pull request #8165 from ershn/rework_pause_menu_example
Reworked the pause menu example in pausing_games.rst
2023-11-24 12:54:44 -05:00
RegalMedia
940f51dd96 Typo fixed in Same-scene limitation section of scene_unique_nodes.rst
Replaced `Blade` with `Sword` in Same-scene limitation section to remain consistent with screenshot example
2023-11-22 10:17:06 -06:00
pseidemann
067170fb8b add missing override modifier for _process() 2023-11-19 15:31:44 +01:00
Max Hilbrunner
7f97b671f9 Merge pull request #7889 from akien-mga/drop-uwp
Remove UWP mentions as the platform port was removed in 4.2
2023-11-18 12:30:25 +01:00
Hugo Locurcio
59cfbbbd82 Add notice about GDExtension being experimental in What is GDExtension? 2023-11-17 15:28:45 +01:00
oujionghong
c925bcd76f Fixing guide example on 2 indent levels for continuation lines
The original example seems to be using 3 tabs for indentation, but the description said 2 should be used.
2023-11-17 10:16:32 +08:00
Rémi Verschelde
ee401703f0 Remove UWP mentions as the platform port was removed in 4.2 2023-11-16 13:03:31 +01:00
Max Hilbrunner
31063027c8 Merge pull request #7579 from dalexeev/gds-setter-getter-doc
GDScript: Clarify setter/getter documentation
2023-11-11 02:26:01 +01:00
Max Hilbrunner
85fc55a922 Merge pull request #8250 from rarysson/update-warning-system
Update GDScript warning system to use `@warning_ignore`
2023-11-10 22:33:44 +01:00
Max Hilbrunner
9e6534f539 Merge pull request #8440 from tetrapod00/patch-2
c_sharp_exports.rst: use uint for layers; update casing to C# convention
2023-11-10 22:25:40 +01:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Rarysson Guilherme
49133c0e5c Update GDScript warning system to use @warning_ignore 2023-11-10 11:33:27 -03:00
Ershn
fc7a41fc48 Rework the pause menu example in pausing_games.rst 2023-11-10 17:31:24 +09:00
tetrapod
5e16b58e79 Use uint for layers in c_sharp_exports.rst 2023-11-09 13:38:08 -08:00
Michael Gundlach
042c415e25 Correct the description of "tree order" (#8294)
* Update scene_tree.rst

Correct the description of "tree order".

The discussion conflated _ready()'s unusual traversal order (post-order traversal) with the usual "tree order" (preorder traversal) for most operations.  It seemed to imply that _ready and most other notifications were received in identical orders.

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 15:48:53 +01:00
Max Hilbrunner
8541b60e08 Merge pull request #8429 from ToasterBiome/patch-2
Clarifies that Lua-style dictionary keys must be string literals in the GD Reference
2023-11-09 12:35:06 +01:00
Steven Le Boëdec
12de91fe08 Improve grammar in Overridable functions (#8193) 2023-11-09 11:43:22 +01:00
hdubbs
d6da7be302 Fix vector value in bullet example in Instancing with signals (#8203) 2023-11-09 11:26:28 +01:00
Byemoh
46c743ae37 Update gdscript_basics.rst 2023-11-08 18:44:05 -06:00
Matthew
d2c5133674 Merge pull request #8136 from Hex-4/fix-scripting-advanced-settings
fix #8076, update image and remove note in GDScript warning system docs
2023-11-08 18:30:14 -05:00
Max Hilbrunner
353fa84c9f Merge pull request #8409 from Calinou/improve-gdextension-docs
Improve GDExtension documentation
2023-11-08 07:36:52 +01:00
Max Hilbrunner
ed5b87415c Merge pull request #8401 from Calinou/gdscript-code-regions
Document support for code folding regions in GDScript reference
2023-11-08 07:34:45 +01:00
Hex-4
eabd668cb7 fix #8076, update note in gdscript warning system settings page 2023-11-07 23:35:02 +00:00
Hugo Locurcio
c15da78587 Fix unused image due to bad syntax in Custom performance monitors
Comment syntax was used instead of figure syntax.
2023-11-07 17:44:55 +01:00
Hugo Locurcio
8f963d91e8 Improve GDExtension documentation
- Mention additional language bindings that support 4.x (already listed
  on the FAQ and List of features pages).
- Document compatibility issues with double-precision builds.
- Remove `-j4` flag from example as SCons uses most CPU cores
  automatically by default in godot-cpp now.
2023-11-07 14:42:44 +01:00
Hugo Locurcio
54331c3c8f Document support for code folding regions in GDScript reference 2023-11-06 22:49:28 +01:00
Zacrain
5110c2dda8 Fix GDExample C++ signal connect example and add explanation (#8381)
* Fix signal connect example, add explanation

* Update tutorials/scripting/gdextension/gdextension_cpp_example.rst

Co-authored-by: David Snopek <dsnopek@gmail.com>

* Update tutorials/scripting/gdextension/gdextension_cpp_example.rst

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-11-03 02:24:20 +01:00
Danil Alexeev
e1911e7355 Fix list of default comment marker keywords 2023-11-02 11:47:52 +03:00
Hugo Locurcio
0756294d3b Document comment keywords being highlighted in the script editor 2023-11-01 15:07:14 +01:00
Matthew
d1506e0a9d Merge pull request #8340 from NoctemCat/patch-1
Fixed typos in custom_performance_monitors.rst
2023-10-31 17:54:18 -04:00
NoctemCat
5561524ea9 Fixed typos in custom_performance_monitors.rst
Changed Monitor to Monitors and added missing colon in the link to Performance.add_custom_monitor
2023-10-31 11:22:32 +09:00
Max Hilbrunner
1e2867c976 Merge pull request #8341 from raulsntos/dotnet/diagnostics-update
Update C# diagnostic documentation
2023-10-27 21:32:17 +02:00
Raul Santos
52ac488079 C#: Add documentation for GD0107 2023-10-27 16:33:14 +02:00
Max Hilbrunner
6516f7f8c7 Merge pull request #7815 from aXu-AP/expressions-functions
Point to GlobalScope from Evaluating Expressions tutorial
2023-10-25 15:20:57 +02:00
Max Hilbrunner
4ff789359b Merge pull request #8265 from Piralein/autoload
fix file casing in singletons_autoload tutorial
2023-10-23 17:17:58 +02:00
Max Hilbrunner
796df85fce Merge pull request #8084 from bferguson3/master
Update gdextension_cpp_example.rst (Clarification rwt dump extension API)
2023-10-21 21:26:02 +02:00
Max Hilbrunner
d1e013bdad Merge pull request #8269 from bziemons/patch-1
Update GDScript reference, 'in'-keyword explanation
2023-10-21 16:35:55 +02:00
Susheel Thapa
a98b5a5545 fix typo in multiple files (#8291)
* fix typo in multiple files

* Updated as per suggestions
2023-10-20 11:34:46 +02:00
Benedikt Ziemons
1beedb8ae8 Update GDScript reference, 'in'-keyword explanation
The explanation for the keyword 'in' states it checks, whether an element is in a list (among others). This is the only occurrence of the word 'list' in this context and I assume it actually means array. To avoid future confusion, it makes sense to replace the word list with array in this explanation.
2023-10-19 10:22:37 +02:00
Raul Santos
b63001f753 Fix C# diagnostic messages to match 4.2 2023-10-18 14:05:14 +02:00
Hana - Piralein
63ad1da481 fix file casing 2023-10-17 20:42:28 +02:00
Raul Santos
f8ed631531 Update the state of C#/.NET support as of 4.2 beta 1 2023-10-12 20:26:32 +02:00
Max Hilbrunner
85be0daece Merge pull request #7985 from dalexeev/update-gds-doc-comments-page
Update "GDScript documentation comments" page
2023-10-09 01:51:17 +02:00
Max Hilbrunner
4b03ae73ad Merge pull request #8177 from wlsnmrk/gd-load-fixes
Standardize/Improve C# GD.Load() examples
2023-10-08 23:10:31 +02:00
Mark Wilson
147d2233c7 Improve C# GD.Load() examples
* Use typed version of GD.Load()
* Use absolute paths (i.e., prefixed with "res://")
* Use "Path/To/" intermediate path values on abstract examples, to
  illustrate that files can live in various directories
* Use PascalCase on files that are not GDScript or GLSL
2023-10-08 12:25:43 -04:00