Commit Graph

39 Commits

Author SHA1 Message Date
0xF812
b08b95d4f5 Fix missing quote in GDScript reference (#6123) 2022-08-30 16:39:44 +02:00
seanfy
1273f4a490 Fix typo in GDScript reference: 'user' -> 'use' (#6033) 2022-08-05 09:51:04 +02:00
Jaime Crespo
33caaf6535 Fix misc syntax/style errors/warnings on documentation head (#5977) 2022-07-23 18:29:56 +02:00
kkoang
ffd84fa9a0 Fix inline code display in GDScript reference (#5907) 2022-07-03 21:02:15 +02:00
Spencer Kotys
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
Yuri Rubinsky
239c49cc8a Add pow operator to GDScript operators list 2022-05-12 11:10:14 +03:00
Zshandi Krahn
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
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
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
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
zacryol
6d1819f2f1 Add Format String to operator/precedence list 2021-10-10 09:21:55 -06:00
Scott
ec8d40cb85 Fix variable casing for class load() in GDScript basics (#5309) 2021-10-09 08:30:04 +02:00
Rémi Verschelde
05ed919228 Merge pull request #5266 from akien-mga/gdscript-no-exp_range 2021-09-29 13:33:45 +02:00
Hugo Locurcio
31033b212b Fix void typed function code sample in GDScript basics 2021-09-25 19:49:24 +02:00
Rémi Verschelde
f39354b7f8 GDScript: Remove reference to @export_exp_range
Cf. #52800.
2021-09-17 23:00:38 +02:00
bearbybits
d7bbff839f Change square brackets to parentheses
Minor change to avoid unnecessary confusion by conditional statements not executing properly if a beginner programmer uses square brackets rather than parentheses to enclose a condition.
2021-09-16 16:05:25 -07:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Hugo Locurcio
8505b713a2 Document nested ternary-if usage example in GDScript reference 2021-07-07 01:47:25 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Hugo Locurcio
ea7814b25c Add a "see also" link to the GDScript grammar in the GDScript section
The page is in the Development section, but it's not easy to discover.
2021-04-23 18:49:09 +02:00
Rémi Verschelde
ca41df2fd0 Merge pull request #4597 from skyace65/weakref
Add code example for weakref
2021-03-19 13:16:34 +01:00
Matthew
2a4dcc40d6 Add information on onready annotation to C# differences page (#4565) 2021-03-19 12:46:23 +01:00
skyace65
4f19eea5c9 Add code example for weakref 2021-01-28 22:30:24 -05:00
Nathan Lovato
f68abde1e8 Write first script and player input pages
Closes #4173
2020-12-02 15:47:29 -06:00
Nathan Lovato
9f3f93912f Merge pull request #4403 from NathanLovato/content/first_3d_game_tutorial
Getting started: your first 3D game tutorial
2020-12-02 15:43:32 -06:00
Nathan Lovato
6cc90eb58f Write part 5 of the 3D first game tutorial, add reference 2020-11-25 14:02:05 -06:00
Hugo Locurcio
471618db61 Clarify that GDScript is not based on Python
This also fixes capitalization where "GDscript" was used instead of
"GDScript".

This closes #4378.
2020-11-19 14:57:12 +01:00
Nathan Lovato
3665f22bab Edit the scripting section
Misc grammar fixes, improvements to phrasing, and more.

Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2020-11-10 08:18:44 -06:00
Nathan Lovato
7e7df1cc03 Merge class_name docs from scripting_continued.rst into gdscript docs 2020-11-07 23:23:19 -06:00
Nathan Lovato
a74cf9ac21 Fix two code lines wrapped in a single one 2020-10-10 21:44:27 -06:00
George Marques
e5d0fa4d67 Apply suggestions from code review
Include suggestions from Calinou

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-10 21:44:27 -06:00
George Marques
efbea16f01 Describe GDScript properties 2020-10-10 21:44:08 -06:00
George Marques
7f28694a94 Update GDScript basics doc to follow GDScript 2.0 2020-10-10 21:43:46 -06:00
Nathan Lovato
4272395ab7 Move scripting section to tutorials/
Closes #4113
2020-10-07 14:05:48 -06:00