Commit Graph
155 Commits
Author SHA1 Message Date
Jaime Crespo 33caaf6535 Fix misc syntax/style errors/warnings on documentation head (#5977) 2022-07-23 18:29:56 +02:00
bruvzg b82de55573 Rename OSX to macOS and iPhoneOS to iOS. Update iOS build instructions. 2022-07-21 12:54:21 +03:00
Moté 48f10af7da 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:25:44 +02:00
kkoang ffd84fa9a0 Fix inline code display in GDScript reference (#5907) 2022-07-03 21:02:15 +02:00
Spencer KotysandHugo Locurcio 22f820a036 Improved documentation for GDScript in keyword (#5883)
* Improve 'in' operator description

* Apply syntax suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-06-22 18:48:29 +02:00
Rémi Verschelde 203fbd35c0 Merge pull request #5837 from akien-mga/gdnative-html5 2022-06-08 13:25:43 +02:00
Danil Alexeev e161f86cf5 Update docs about doc comments (@desc: replaced with blank line) (#5838) 2022-05-26 19:40:34 +02:00
Rémi Verschelde 790c6ca532 Fix outdated comment about GDNative on HTML5 2022-05-25 12:35:00 +02:00
MatthewandHugo Locurcio fd545c7a3e Document scene unique nodes (#5831)
* Document scene unique nodes

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-05-23 08:03:37 +02:00
Hugo Locurcio cb9b2b8c5d Document that autoloads must not be freed to avoid crashes 2022-05-14 20:35:21 +02:00
Yuri Rubinsky 239c49cc8a Add pow operator to GDScript operators list 2022-05-12 11:10:14 +03:00
Haoyu Qiu 1c71b31210 Document zero padding and left alignment in format string (#5790) 2022-05-01 19:08:22 +02:00
Rémi Verschelde 35ab01482e Fixup link in Managing groups section 2022-04-29 14:06:51 +02:00
AndreKoscianskiandRémi Verschelde a4c360c66f Clarify instructions on managing groups (#5316)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-04-29 13:19:25 +02:00
Rémi Verschelde 26fb5af226 Merge pull request #5483 from Ivorforce/patch-1
Remove references to 'godot-headers' from gdnative cpp example
2022-04-29 12:59:43 +02:00
Matthew 87d12d7533 Document Profiler C# limitations (#5779) 2022-04-29 12:33:58 +02:00
Max Hilbrunner 9f8810d7f8 Merge pull request #5752 from Calinou/gdscript-exports-update-syntax
Update syntax for GDScript 2.0 in GDScript exports
2022-04-21 12:35:39 +02:00
Luis Adolfo Ramírez 558ba65828 Fix typo in GDNative C++ example (#5761) 2022-04-13 00:44:38 +02:00
Hugo Locurcio b54e6e4ec8 Update syntax for GDScript 2.0 in GDScript exports 2022-04-10 01:55:11 +02:00
Hugo Locurcio 4709121d02 Document GDNative add-on version compatibility being stricter than usual 2022-04-06 19:14:05 +02:00
skyace65 7a3585a382 Improve and update pausing games for Godot 4 2022-03-13 14:51:03 -04:00
Micky 1d6c90a434 Change remaining "export" to "@export"
This PR changes the "export"s in the Array section of the GDScript Exports documentation to the "@export" annotation to be in line with 4.0.

Also slightly touches up the wording when referring to default null assignment and Packed*Arrays.
2022-02-27 14:30:15 +01:00
Max Hilbrunner 37b4b1430a Merge pull request #5604 from Calinou/gdnative-cpp-example-remove-nativescript-1.0
Remove references to NativeScript 1.0 in GDNative C++ example
2022-02-25 05:03:30 +01:00
Zshandi KrahnandHugo Locurcio 66305cf83b Fixed grammar in "Awaiting for signals" end note (#5586)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-02-24 14:54:09 +01:00
Rémi Verschelde 9621bed314 Merge pull request #5579 from Sauermann/fix-onready-annotations 2022-02-24 14:13:07 +01:00
skyace65 0b4017d519 Document line continuation in GDScript 2022-02-22 20:34:32 -05:00
Markus Sauermann aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Hugo Locurcio 440141e494 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.
2022-02-14 01:12:31 +01:00
Victor Karp 7d3cd55ea2 Add missing closing quotation marks in GDScript format strings (#5583) 2022-02-05 21:23:04 +01:00
Markus Sauermann 57a9ef3fea Add @ to onready annotated variables in examples 2022-02-04 19:33:10 +01:00
Max Hilbrunner 74a720e169 Merge pull request #5532 from exploregamedev/rpc_annotation
Reduced reference to RPC annotations down to @rpc
2022-01-28 16:46:11 +01:00
SnailRhymer 5d43929a09 Add navigation annotations to gdscript export docs
Under 'exporting bit flags', add 2D and 3D navigation annotations to the bit flag annotation examples.
2022-01-27 15:50:20 +00:00
samkeen 9ec9531b9a Reduced the RPC annotations down to @rpc
As per this post (and merge to master):
https://godotengine.org/article/multiplayer-changes-godot-4-0-report-2
The multiplayer annotations have reduced down to only @rpc (as far
as I can tell? apologies if I've miss interpreted this)

- removed the deprecated annotations and replaced with @rpc
- replaced an example that referenced @remote
2022-01-19 19:30:12 -08:00
skyace65 76550d3653 Add information on using continue with match to gdscript table 2022-01-09 11:03:43 -05:00
MatthewandHugo Locurcio d17c415009 Update and improve VS Code setup instructions (#5501)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-01-08 00:06:25 +01:00
Max Hilbrunner fbc887ab2d Merge pull request #5484 from Ivorforce/patch-2
Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example
2021-12-29 18:33:32 +01:00
MatthewandHugo Locurcio f1ff320f06 Clarify singleton read order (#5457)
* Clarify singleton read order

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-29 18:29:52 +01:00
Ivorius d85e844a94 Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example 2021-12-29 13:51:12 +01:00
Ivorius 1741bbd35e Remove references to 'godot-headers' from gdnative cpp example 2021-12-29 13:44:02 +01:00
MatthewandHugo Locurcio 0247f14e1e Clarify tree order in Using SceneTree (#5449)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-14 11:05:29 +01:00
Fernando Carmona Varo 94beafa63b Change PackedScene instance() to instantiate() (#5439) 2021-12-08 00:26:00 +01:00
itsadrago e9c31d9104 Fix incorrect explanation of successful evaluation in Evaluating expressions (#5424) 2021-12-02 16:56:03 +01:00
Max Hilbrunner 0fb9b49e3e Merge pull request #5339 from zacryol/memory-mgmnt-refactor
Refactor Memory Management section
2021-11-07 20:09:12 +01:00
zacryol c5291196aa Refactor Memory Management section
Makes it more clear that Node is not freed automatically.
The part that states RefCounted as the default was moved to Inheritance
WeakRef example was altered to show a RefCounted object not prevented from freeing.
2021-11-07 08:14:51 -07:00
Max Hilbrunner 8472c9a304 GDScript Basics: More braces for consistency. 2021-11-03 19:20:52 +01:00
Max Hilbrunner ddcd1c7c89 Merge pull request #5264 from bearbybits/patch-1
Change square brackets to parentheses
2021-11-03 19:18:27 +01:00
Max Hilbrunner 7b758e4739 Merge pull request #5326 from zacryol/inferred-typing-cast
Show example of casting get_node() for static typing in style guide
2021-11-03 14:43:45 +01:00
SietseqandHugo Locurcio 7954084bd4 GDNative: Specify to use the 3.x branch (#5354)
GDExtensions has been merged into the godot-cpp master branch. The tutorial should specify to use the 3.x branch if the reader is creating GDNative scripts.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-03 14:30:22 +01:00
zacryol 35211f6002 Show example of casting get_node() for inferred static typing in style guide 2021-10-22 11:04:56 -06:00
zacryol 8b5fb7a39d Rename var "character_dir" to "character_dict" in GDScript style guide (#5325) 2021-10-16 01:12:08 +02:00