Commit Graph

160 Commits

Author SHA1 Message Date
Bruno Teixeira
ebb36dc876 Update gdscript_format_string.rst
Added missing documentation for `%v` string formatting for vectors.
2023-09-28 15:11:37 +02:00
Elnar Dakeshov
4b6e15d3b3 Update style guide (#8038)
Used get instead of set.
2023-09-27 03:03:08 +02:00
Danil Alexeev
09d9d9a895 GDScript: Document raw string literals 2023-09-21 00:04:38 +03:00
Max Hilbrunner
64867d4341 Merge pull request #7812 from dalexeev/gds-mention-array-assign-method
GDScript: Mention `Array.assign()` method in typed arrays documentation
2023-09-10 20:12:38 +02:00
Hugo Locurcio
8e4f72f3f4 Mention typing of for loop variable in Static typing in GDScript 2023-08-21 19:44:52 +02:00
Danil Alexeev
34a620e2c2 GDScript: Mention Array.assign() method in typed arrays documentation 2023-08-16 11:30:39 +03:00
Danil Alexeev
60e3f14d98 Update "GDScript documentation comments" page 2023-08-01 11:52:42 +03:00
Aaron
81f1db2ca8 Fix the spelling and example list code. 2023-07-19 12:15:22 -04:00
Max Hilbrunner
df7068bf03 Merge pull request #7603 from dalexeev/gds-arrays 2023-07-18 17:06:50 +02:00
Max Hilbrunner
5dc2506ed8 Merge pull request #7591 from dalexeev/gds-warn-override-non-virtual 2023-07-18 13:41:05 +02:00
Ninni Pipping
1a1500cebe Fix outdated use of File in gdscript_basics 2023-07-17 16:22:30 +02:00
CactiChameleon9
cf5222b129 Fix mention of Godot3's or_lesser for export_range 2023-07-08 06:34:20 +01:00
Danil Alexeev
9fb9915ad9 GDScript: Document static variables 2023-07-03 14:58:23 +03:00
Danil Alexeev
1be213cbe8 GDScript: Update array documentation
* Add info about typed arrays.
* Fix the error that packed arrays are passed by value.
2023-07-03 14:40:09 +03:00
Danil Alexeev
055ec902ce GDScript: Add warning about overriding non-virtual native methods 2023-07-01 21:26:48 +03:00
Hannes
085d4035a3 Changed a code example that didn't follow the style guide 2023-06-26 11:42:11 +02:00
Danil Alexeev
d8e71f7453 Update info about BBCode in doc comments and Class Reference 2023-05-29 21:43:10 +03:00
Danil Alexeev
15f32c5407 GDScript: Add mention that @onready @export doesn't work as expected 2023-05-27 15:25:50 +03:00
Hana - Piralein
f337bb0f82 improve description of enums 2023-05-19 18:19:33 +02:00
Max Hilbrunner
72c0af46b2 Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
2023-05-18 12:46:58 +02:00
Danil Alexeev
4aff3ddc8a Update "GDScript reference" (operators and match) (#7323)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 10:57:40 +02:00
Felipe Augusto Marques
c4db831703 More precise documentation about property underlying access (#7362)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 09:36:54 +02:00
Danil Alexeev
1575f5f714 Mention that annotations in GDScript support constant expressions 2023-05-12 16:38:20 +03:00
Max Hilbrunner
5e04f6550c Merge pull request #6565 from piyushmulatkar/patch-1 2023-05-04 14:03:31 +02:00
Hugo Locurcio
698c40e72a Document how to add breakpoints in the editor and using breakpoint
Until now, there was little documentation on how to create breakpoints
(including persistent ones with the `breakpoint` keyword). This may
not be obvious to those who haven't used other IDEs before.

This also documents' breakpoints persistent behavior since the editor
state is saved.
2023-05-03 20:26:46 +02:00
Max Hilbrunner
153ccd57e5 Merge pull request #7249 from K1aymore/patch-1
Remove unneeded repetition in gdscript_basics.rst
2023-05-01 10:44:29 +02:00
Cameron
da69035b1c minor grammar and typo in gdscript_documentation_comments.rst 2023-04-30 10:47:39 -07:00
Klaymore
627fd49e90 Remove unneeded repetition in gdscript_basics.rst 2023-04-29 21:54:17 -07:00
Max Hilbrunner
64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
iwVerve
7b4684b7a0 missing word typo on documentation comments page 2023-04-11 14:07:12 +02:00
mtttz
562dfdcbcc Document support for escaped UTF-16 and UTF-32 Unicode characters
Fixes #5607
2023-03-30 06:29:48 +02:00
Max Hilbrunner
62e502fe23 Merge pull request #7004 from kzerot/patch-1
Added info about range() with negative step
2023-03-23 04:49:37 +01:00
Max Hilbrunner
ebf3a02dbc Merge pull request #6498 from vmedea/2022-12-style-guide
Update style guide for new export and setget syntax
2023-03-23 04:46:52 +01:00
Max Hilbrunner
86c4c136ea Merge pull request #7005 from rcorre/array-type
Document array types.
2023-03-23 04:41:10 +01:00
Max Hilbrunner
b53e989669 Merge pull request #7012 from jwmcgettigan/onready-patch
Updated instances of onready to @onready.
2023-03-23 04:39:30 +01:00
Justin McGettigan
7f7042c515 Updated instances of onready to @onready. 2023-03-18 16:06:11 -04:00
Ryan Roden-Corrent
cd0fad3bab Document array types.
Fixes #6972.
2023-03-17 19:26:49 -04:00
Max
07175e60a0 Added info about range with negative step
Added info about range with a negative step, because I have a lot of questions "how can I get a reversed range in GDScript?" in my local community.
2023-03-17 18:08:51 -05:00
George Marques
4d86f91ff7 Add note in GDScript reference about inference with Variant (#6934) 2023-03-13 17:41:07 +01:00
pcamp
264df54c2a Fix typo in gdscript_basics
"change" -> "changes"
2023-03-13 01:05:08 -05:00
gomaproi
c39a8d9dc5 Update some screenshots in the Scripting section for Godot 4 (#6851) 2023-03-06 10:48:20 +01:00
Ulugbeg
6dd9e26420 Added missing ^= from list of assignment
In the list of the (lowest priority) Assignment Operators, `^-` was not listed, but it does exist & work.
2023-02-28 21:41:39 +01:00
Thiago Lages de Alencar
8a112dcef2 Add bang operator to operators table (#6558)
* Add bang operator to operators table

* Add symbolic aliases for `and` & `or`

* Remove comma from operators table

* Add bang to the aliases list

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-02-27 07:37:17 +01:00
Thiago Lages de Alencar
6095b20174 Add bang operator to gdscript style guide (#6828) 2023-02-27 07:19:38 +01:00
Kirito
c1847892a3 Update class_name in Static typing in GDScript to follow style guide (#6821) 2023-02-26 01:03:32 +01:00
Max Hilbrunner
0847b43a24 Merge pull request #6777 from GeroVeni/master
Add enum examples to the documentation comments
2023-02-24 15:04:56 +01:00
Cyril K.B
3a11c30915 Fix code block formatting in gdscript_bascis.rst 2023-02-18 10:14:00 +01:00
GeroVeni
4d6964bc9e Add enum examples to the documentation comments 2023-02-17 09:32:48 +00:00
Max Hilbrunner
bbe291af42 Merge pull request #6750 from Calinou/gdscript-basics-unicode-identifiers
Document Unicode identifiers now being supported in GDScript reference
2023-02-09 10:12:32 +01:00
huulong
e7fbd0e136 Fix gdscript_exports @export_node_path example by adding quotes around class names to pass strings 2023-02-08 20:24:28 +01:00