Piyush Mulatkar
dea8e1c94a
Removed repetitive reference to NodePath
...
Removed repetitive mentions of NodePath
Fixes #6554
URL to the documentation page:
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#nodepath
https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#id1
2023-01-07 01:50:30 +05:30
Thiago Lages de Alencar
591296ceb3
Update in description ( #6526 )
...
* Update `in` description
It can be used without the `if` keyword
It appears as keyword in gdscript tokenizer: 0103af1ddd/modules/gdscript/gdscript_tokenizer.cpp (L474)
2023-01-06 01:00:57 +01:00
Simo-1234
e5f4132e16
Error in the C# style guide
...
There was written tertiary operator instead of ternary
2022-12-31 11:33:37 +01:00
Thiago Lages de Alencar
f2d0428c0c
Update string literal example
...
Both examples were using double quotes, this change the second example to single quotes
2022-12-30 06:37:25 -03:00
Yuri Sizov
97e69ebc72
Merge pull request #6481 from Piralein/gd-export
...
Update GDScript Export Docs
2022-12-30 02:17:59 +03:00
Hana
74804eb8e9
update gdscript export docs
2022-12-29 22:20:33 +01:00
31
0ed7937482
Fix Resource scripting blocks and C# examples
2022-12-28 22:35:47 -08:00
Max Hilbrunner
3c3c932f3d
Merge pull request #6499 from vmedea/2022-12-enum-type
...
static_typing: Cyclic type dependencies and enums as types are now possible
2022-12-22 08:44:25 +01:00
Hugo Locurcio
62c1050bac
Add a page on custom performance monitors ( #6409 )
2022-12-19 17:48:40 +01:00
Mara Huldra
66c620583f
static_typing: Cyclic type dependencies and enums as types are now possible
2022-12-18 18:24:22 +01:00
roookeee
2b9d539ed2
C#: Avoid accessing expensive properties of Godot C# objects multiple times if possible ( #6408 )
...
Co-authored-by: Nico Heller <nheller@uni-bremen.de >
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-12-16 13:39:04 +01:00
Hugo Locurcio
01cc64412c
Document node property exports now being possible in GDScript
2022-12-08 14:32:39 +01:00
Hugo Locurcio
d46c17f8ff
Improve the Upgrading to Godot 4 page
...
- Mention various caveats of upgrading, such as unavailable features.
- Mention external shaders not being updated by the conversion tool.
- List optional things to do before upgrading to make the process smoother.
2022-12-05 13:15:52 +01:00
Ignacio Roldán Etcheverry
d43100c2fc
Merge pull request #6442 from raulsntos/dotnet/string-extensions
...
C#: Add table with equivalent string methods
2022-12-02 14:55:35 +01:00
Raul Santos
72b626cf65
C#: Add table with equivalent string methods
...
Adds a table with the list of methods C# methods that are equivalent to
the methods in Godot's String (including links to Microsoft's
documentation and alternative APIs to consider).
2022-12-01 05:49:26 +01:00
Hugo Locurcio
509804650e
Update all instances of instance() to instantiate()
2022-11-29 16:59:09 +01:00
FeralBytes
fad177f9b0
Change match typeof() example from REAL to FLOAT in GDScript reference ( #6384 )
...
TYPE_REAL no longer exists, changed to TYPE_FLOAT
2022-11-14 14:46:40 +01:00
Jean-Samuel Aubry-Guzzi
5e421754ec
Add warning about importing c#
2022-10-25 21:24:37 -04:00
Max Hilbrunner
4bdf16e6fe
Merge pull request #6336 from opl-/fix/tool-mode-anchor
...
Fix tool mode section reference position
2022-10-24 02:42:55 +02:00
opl-
e0757940cf
Fix tool mode section reference position
2022-10-23 21:52:52 +02:00
atn
eb60c8968c
small correction
...
Removed an additional notify in the function's name
2022-10-20 09:27:51 +02:00
Max Hilbrunner
99d3d0be12
Renames / fixes for Godot 4
2022-10-17 00:35:07 +02:00
Max Hilbrunner
3765e1ca51
Nuke GDNative from docs
2022-10-15 23:53:50 +02:00
Max Hilbrunner
6c13f5ba58
More Godot 4 renames and fixes ( #6317 )
...
* Move ImmediateGeometry -> ImmediateMesh
* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7
More Godot 4 rename fixes ( #6315 )
...
* Spatial -> 3D, Transform, Quaternion
* File -> FileAccess
* Camera -> Camera3D
* Update references to MeshInstance and MultiMeshInstance
* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
024fedb0f3
Kinematic -> Character
2022-10-15 17:55:24 +02:00
Max Hilbrunner
9862cbea87
Reference -> RefCounted
2022-10-15 17:26:59 +02:00
Max Hilbrunner
89bd854f66
Merge pull request #6285 from yedpodtrzitko/yed/viewport-subviewport
...
fix: rename `ViewportContainer` to `SubViewportContainer`
2022-10-11 21:11:34 +02:00
Max Hilbrunner
1fffab8cf2
Formatting, syntax and URL fixes
2022-10-11 10:14:37 +02:00
NationalityNZ
24770fd215
Update gdscript_basics.rst ( #5873 )
...
* Update gdscript_basics.rst
Added some pragmatic advice for for-loops
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2022-10-11 09:32:13 +02:00
Max Hilbrunner
0f77b03a42
Merge pull request #6276 from HolonProduction/master
...
Add explanation of lambdas to GDScript basics.
2022-10-11 08:08:32 +02:00
Max Hilbrunner
505fd7dfc1
Merge pull request #6280 from HolonProduction/patch-1
...
Improve description of `range` function.
2022-10-11 08:06:33 +02:00
TheYellowArchitect
5542bf980f
[Resources] Update example to be compatible with 4.0 ( #6279 )
...
* [Resources] Update example to be compatible with 4.0
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2022-10-11 08:05:24 +02:00
Jiri Suchan
3370ef2ef9
fix: rename ViewportContainer to SubViewportContainer
2022-10-09 20:07:25 +09:00
HolonProduction
bd27c031a8
Add explanation of lambdas to GDScript basics.
...
Some examples and wordings were copied from the original proposal godotengine/godot-proposals#2431 .
This also contains notion of one line functions.
2022-10-08 08:58:50 +02:00
HolonProduction
b0001380c0
Improve description of range function.
...
Fixes #5763
The description from before did not take negative `s` into account.
2022-10-07 23:30:45 +02:00
TheYellowArchitect
6c566613a8
[Instancing with signals] Updated to 4.0 ( #6268 )
...
* [Instancing with signals] Updated to 4.0
Basically started with changing `instance()` to `instantiate()`
Was a good chance to also upgrade the badly named `b` variables into proper intuitive names.
It's a good tutorial, short and to the point, though kinda abstract so I don't think there is anything more to add (if I put an image above the final codeblock, on how to add a signal via UI, it would ruin the abstraction imo)
* Made the signal location a bit more obvious
* Updated signal emission to 4.0 syntax
Interesting that emit_signal did work, backwards compatibility ftw!
`emit_signal()` its less intuitive as you must know a "magical function" of Godot instead of using the obvious variable, and also takes string argument lmao
2022-10-07 16:08:35 +02:00
Hugo Locurcio
f13651cf96
Fix link to AutoLoads documentation in Using SceneTree
2022-10-05 18:31:11 +02:00
Kirrby
9d9d4b821c
Updating change_scene and change_scene_to ( #6175 )
...
* Updating change_scene and chnage_scene_to
solves #6156
2022-10-05 12:57:40 +02:00
yed podtrzitko
c6406c876a
External Editor: add info about debugger setting option ( #6253 )
...
* External Editor: add info about debugger setting option
* Apply suggestions from code review
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-10-04 13:11:09 +02:00
Max Hilbrunner
c9d41855e2
Merge pull request #6211 from Evanaellio/fix-tool-annotation
...
Fix references to the @tool annotation
2022-09-22 17:24:35 +02:00
Evanaellio
3cb674285e
Fix references to the @tool annotation
2022-09-21 22:48:04 +02:00
Evanaellio
bc35550dc5
Swap arguments of ResourceSaver.save()
2022-09-21 22:30:25 +02:00
David Briscoe
9a14c8ded3
Rename print_x_times to print_n_times in Cross-language scripting ( #6143 )
...
Change code to match the rest of the documentation. C# examples
use PrintNTimes and calls print_n_times, so change gdscript to match.
2022-09-06 18:19:16 +02:00
Hugo Locurcio
696f746dff
Fix nested typed arrays being claimed as supported in GDScript reference
2022-09-04 19:41:53 +02:00
0xF812
b08b95d4f5
Fix missing quote in GDScript reference ( #6123 )
2022-08-30 16:39:44 +02:00
Max Hilbrunner
c2f7474ec5
Merge pull request #6110 from raulsntos/dotnet/new-signals
...
Update C# signal documentation
2022-08-26 18:22:46 +02:00
Raul Santos
3b36a94d35
Update C# signal documentation
...
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
skyace65
5fce24792d
Remove visual scripting from the documentation
2022-08-25 22:18:25 -04:00
Hugo Locurcio
9baaf4dc42
Document registering an autoload when an editor plugin is enabled
2022-08-24 19:33:01 +02:00