Commit Graph

8085 Commits

Author SHA1 Message Date
Hugo Locurcio
48596bc9ed Document using EditorScript in Running code in the editor
EditorScript is useful for one-off operations such as:

- Use as a playground for GDScript or C# scripting without
  having to run a project.
- Scale all light nodes in the currently edited scene.
- Replace nodes that were copy-pasted with scene instances.
2023-11-14 12:03:11 +01:00
Max Hilbrunner
70c6bca054 Merge pull request #8411 from Calinou/update-unused-images-script
Update `list-unused-images.sh` script for recent changes
2023-11-14 07:43:07 +01:00
Max Hilbrunner
2fe1d6a92a Merge pull request #8468 from Pikari0/patch-1
Update the default diffuse mode
2023-11-14 07:41:32 +01:00
Pikario
b65d7cab1b Update the default diffuse mode 2023-11-13 23:34:58 +01:00
Hugo Locurcio
49f1f01b41 Update list-unused-images.sh script for recent changes
- Exclude all images in the top-level `img/` folder.
- Take WebP images into account.
- Fix shellcheck warnings.
- Mark the script as executable so it can be run more easily.
2023-11-13 21:51:44 +01:00
Max Hilbrunner
a120779ca2 Merge pull request #8456 from RobProductions/patch-1
Fix styling and grammar in object_class.rst
2023-11-12 08:55:56 +01:00
RobProductions
e256cf6172 Fix styling and grammar in object_class.rst
I noticed some of the phrasing and grammar in object_class.rst was a bit confusing, so I tried to improve the clarity while keeping the original intent of the content. 

Let me know if the changes are consistent with the rest of the docs, thanks!
2023-11-12 01:17:53 -05:00
Max Hilbrunner
fa7af7ae68 Merge pull request #8454 from adamscott/add-missing-headless-in-examples-dotnet
Add `--headless` parameter to "compiling with dotnet" examples
2023-11-12 00:32:52 +01:00
Adam Scott
e130fd58e7 Add --headless parameter to examples 2023-11-11 15:19:22 -05:00
Max Hilbrunner
9212f4f0a2 Merge pull request #8446 from godotengine/classref/sync-e38686f
classref: Sync with current master branch (e38686f)
2023-11-11 04:36:22 +01:00
Godot Organization
877192fe6e classref: Sync with current master branch (e38686f) 2023-11-11 03:19:54 +00:00
Max Hilbrunner
6981d930f8 Merge pull request #7994 from Helmasko/patch-2
Custom drawing in 2D update gdscript
2023-11-11 03:06:03 +01:00
Tylemagne
2d087cad24 More clarity and explanation for audio effects (#8304)
* Update tutorials/audio/audio_effects.rst

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Matthew <matthewehr@hotmail.com>
2023-11-11 02:40:05 +01:00
Rahmat Nazali Salimi
954658fa1b Add video tutorial reference (#8138)
Add video tutorial reference that talks about introduction to Godot 4 and Godot in general.
2023-11-11 02:36:37 +01:00
Max Hilbrunner
ac928bdff3 Merge pull request #7725 from Ymanawat/chroma_key_shader
Added chroma key shader tutorial in Playing Videos
2023-11-11 02:35:34 +01:00
Max Hilbrunner
2958e6d168 Merge pull request #8410 from Calinou/using-fonts-outline-shadow
Document setting up font outline, shadow and MSDF in Using fonts
2023-11-11 02:29:45 +01:00
Max Hilbrunner
31063027c8 Merge pull request #7579 from dalexeev/gds-setter-getter-doc
GDScript: Clarify setter/getter documentation
2023-11-11 02:26:01 +01:00
Max Hilbrunner
85fc55a922 Merge pull request #8250 from rarysson/update-warning-system
Update GDScript warning system to use `@warning_ignore`
2023-11-10 22:33:44 +01:00
Max Hilbrunner
455140b958 Merge pull request #8442 from Calinou/using-fonts-system-fonts-android-unreliable
Mark Android system font loading as unreliable in Using fonts
2023-11-10 22:26:59 +01:00
Max Hilbrunner
51db4d1715 Merge pull request #8441 from Calinou/runtime-file-loading-saving-mipmaps
Document generating mipmaps in Runtime file loading and saving
2023-11-10 22:26:30 +01:00
Max Hilbrunner
9e6534f539 Merge pull request #8440 from tetrapod00/patch-2
c_sharp_exports.rst: use uint for layers; update casing to C# convention
2023-11-10 22:25:40 +01:00
Yuri Sizov
ce0f977510 Merge pull request #8444 from godotengine/classref/sync-8ebb3c7
classref: Sync with current master branch (8ebb3c7)
2023-11-10 16:12:05 +01:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Godot Organization
ca74950fac classref: Sync with current master branch (8ebb3c7) 2023-11-10 15:05:36 +00:00
Rarysson Guilherme
49133c0e5c Update GDScript warning system to use @warning_ignore 2023-11-10 11:33:27 -03:00
Hugo Locurcio
fc911e7433 Mark Android system font loading as unreliable in Using fonts 2023-11-10 12:08:43 +01:00
Hugo Locurcio
051b6f33c6 Document generating mipmaps in Runtime file loading and saving
This is often needed when displaying loaded images on a 3D surface.
2023-11-10 10:59:31 +01:00
Max Hilbrunner
66b59c1896 Merge pull request #8437 from Piralein/moreorlessorwarning
Remove the remaining reminder and add it as a warning (Your first 2D game - Heads up display)
2023-11-10 06:12:21 +01:00
Matthew
e760a9f18b Merge pull request #7934 from RayFV/patch-1
Fixed macOS shortcut
2023-11-09 21:02:21 -05:00
Matthew
84828e231e Merge pull request #8259 from arrayewhy/patch-1
Updated Code Folding Hotkey Reference for MacOS
2023-11-09 20:47:04 -05:00
tetrapod
5e16b58e79 Use uint for layers in c_sharp_exports.rst 2023-11-09 13:38:08 -08:00
Hana - Piralein
a24b42c366 Add the reminder as warning 2023-11-09 19:34:53 +01:00
Michael Gundlach
042c415e25 Correct the description of "tree order" (#8294)
* Update scene_tree.rst

Correct the description of "tree order".

The discussion conflated _ready()'s unusual traversal order (post-order traversal) with the usual "tree order" (preorder traversal) for most operations.  It seemed to imply that _ready and most other notifications were received in identical orders.

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 15:48:53 +01:00
Max Hilbrunner
4debcdc48b Merge pull request #8436 from Calinou/runtime-file-loading-saving-gltf-base-path
Document glTF base path in Runtime file loading and saving
2023-11-09 15:46:34 +01:00
Peter Lindgren
f64d6f51c8 Update WebRTC example code for Godot 4 (#7882)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 13:52:41 +01:00
FelixBurkhard
d99a88235c Fix minor issues in Your first 2D game (#8129)
- The `Dodge the Creeps!` string was not consistent through the page.
- The `\n` was removed from the Label Text because the Label should do the wrapping.
- There were two reminders to remove the `new_game()` call with only a few lines in between.
2023-11-09 13:42:32 +01:00
Ricardo Subtil
6bf14ca9c5 Add LSP/DAP configuration section on external editors (#7948)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 13:33:05 +01:00
HolonProduction
1bc6c890b6 Update Viewports tutorial for Godot 4 (#8210)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 13:32:31 +01:00
Paul PINA-GHERARDI
7e573eae55 Document requirement of having client + server RPCs in High-level multiplayer (#7932)
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 13:30:36 +01:00
Saif Kandil
ead42d79de Fix `*.out` file path in integration tests documentation (#8221)
The path to the `bin/` directory is written from the root as `./bin/<godot_binary>`,
however the path to the `scripts/` directory is written from outside the root as
`godot-source/modules/gdscript/tests/scripts`, which is inconsistent.
2023-11-09 13:09:29 +01:00
Carl Meyer
8e18efa328 Mark Instancing tutorial as up-to-date (#8146)
I could follow it without any issues on 4.1.
2023-11-09 12:55:28 +01:00
Hugo Locurcio
04da2fb746 Document glTF base path in Runtime file loading and saving 2023-11-09 12:54:44 +01:00
Max Hilbrunner
8541b60e08 Merge pull request #8429 from ToasterBiome/patch-2
Clarifies that Lua-style dictionary keys must be string literals in the GD Reference
2023-11-09 12:35:06 +01:00
Steven Le Boëdec
12de91fe08 Improve grammar in Overridable functions (#8193) 2023-11-09 11:43:22 +01:00
hdubbs
d6da7be302 Fix vector value in bullet example in Instancing with signals (#8203) 2023-11-09 11:26:28 +01:00
Jackie Xu
8625ccb362 Fix duplicate mob squash logic in Your first 3D game (#7767) 2023-11-09 11:12:02 +01:00
Max Hilbrunner
1145e1a594 Merge pull request #8407 from hugarty/patch-1
Update register_types in binding_to_external_libraries.rst
2023-11-09 09:38:39 +01:00
Max Hilbrunner
e83fd34f10 Merge pull request #8430 from skyace65/FirstScript
Update images on first script page
2023-11-09 08:29:51 +01:00
David C. Drake
81be1460d5 Minor fixes in scripting_first_script.rst (#8415)
* Minor fixes in scripting_first_script.rst

Changed "by default" to "at their default values" and "calling the rotated() method on any Vector2" to "calling the Vector2 method rotated()" (in context, these changes are correct). Also added a missing comma.

* "at" -> "set to" in scripting_first_script.rst

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-11-08 21:07:17 -05:00
Matthew
2678909bdb Merge pull request #8414 from theDrake/patch-1
Add missing comma in instancing.rst
2023-11-08 21:05:19 -05:00