Commit Graph

387 Commits

Author SHA1 Message Date
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
Max Hilbrunner
e7233356f4 Merge pull request #6036 from Boxfort/master
Fix grammar in 'pausing_games.rst'
2022-08-05 20:21:21 +02:00
Jack Anderson
2eed5a5cda Fix grammar in 'pausing_games.rst' 2022-08-05 18:58:15 +01:00
Pixelatex
8bc58f580a Singletons tutorial has deprecated methods. (#6018)
* Singletons tutorial has deprecated methods.
2022-08-05 19:54:38 +02:00
seanfy
1273f4a490 Fix typo in GDScript reference: 'user' -> 'use' (#6033) 2022-08-05 09:51:04 +02:00
Max Hilbrunner
6352a30ef1 Merge pull request #5981 from jynus/4.0-templates
Document new script template system for Godot 4.0
2022-08-02 10:20:44 +02:00
Vladislav Vorobev
3dd5afca78 Fix missing code blocks in GDScript exports (#5998) 2022-07-28 23:08:51 +02:00
luz paz
04f66dc5d0 Fix various typos
Found via `codespell -q 3 -S ./LICENSE.txt,./tutorials/i18n,./_tools/codespell-ignore-lines.txt -L doubleclick,findn,lod,inout,nd,raison,te` and other means
2022-07-28 10:35:04 -04:00
Max Hilbrunner
420ed2739f Merge pull request #5985 from 31/dev/31/winbugs
Add notes for common C# bugs on Windows
2022-07-27 02:54:00 +02:00
Max Hilbrunner
3f00b445e6 Merge pull request #5983 from 31/dev/31/cli
Add "dotnet CLI" option to all C# editor docs
2022-07-26 00:40:05 +02:00
31
b8c3411a40 Add notes for common C# bugs on Windows 2022-07-24 21:04:45 -07:00
31
b3296f0573 Remove "Core" from .NET SDK, simplify Mono mention 2022-07-24 17:55:10 -07:00
31
5f60723cd4 Add "dotnet CLI" option to all C# editor docs 2022-07-24 16:03:24 -07:00
Jcrespo
b2cfd379c2 Document new script template system for Godot 4.0
The script templates page wasn't updated after godotengine/godot#53957
The templates are now per node type and folder organization has changed.

A few behaviours and configuration have also changed. Documenting based
on current editor behaviour and source code HEAD.

Fixes #5887
2022-07-24 01:59:09 +02:00
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 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
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
Matthew
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
AndreKoscianski
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