Commit Graph

8054 Commits

Author SHA1 Message Date
Godot Organization
ca74950fac classref: Sync with current master branch (8ebb3c7) 2023-11-10 15:05:36 +00: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
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
skyace65
36f035d62b Update images on first script page 2023-11-08 20:59:44 -05:00
Byemoh
46c743ae37 Update gdscript_basics.rst 2023-11-08 18:44:05 -06:00
Matthew
d2c5133674 Merge pull request #8136 from Hex-4/fix-scripting-advanced-settings
fix #8076, update image and remove note in GDScript warning system docs
2023-11-08 18:30:14 -05:00
Max Hilbrunner
d15aadf72b Merge pull request #8406 from Calinou/making-main-screen-plugins-editorinterface
Use EditorInterface singleton in Making main screen plugins
2023-11-08 15:38:00 +01:00
Max Hilbrunner
40cc9c6833 Merge pull request #8378 from kleonc/vertex-shader-built-in-ids
Document `VERTEX_ID`, `INSTANCE_ID` built-ins for `canvas_item` vertex shader
2023-11-08 15:35:41 +01:00
Max Hilbrunner
02c72b9e80 Merge pull request #8424 from Calinou/optimizing-for-size-update-modules
Update list of modules that can be disabled in Optimizing for size
2023-11-08 15:34:04 +01:00
Max Hilbrunner
db00277f12 Merge pull request #8426 from Calinou/importing-images-ktx
Document support for importing KTX images in Importing images
2023-11-08 15:33:07 +01:00
Hugo Locurcio
83b532da66 Document support for importing KTX images in Importing images
- Link to Run-time file loading and saving page where relevant.
2023-11-08 14:40:18 +01:00
Hugo Locurcio
e0a8e07f56 Update list of modules that can be disabled in Optimizing for size
This list was confirmed to be working for the 2D platformer demo
(with missing background music if the Ogg/Vorbis modules are left
disabled).

This adds instructions for disabling the advanced text server
and using the fallback text server instead. The list has been
reorganized to list options with the most space savings at the top.

This also removes the platform options from each example as SCons
uses autodetection by default now.
2023-11-08 13:08:10 +01:00
Max Hilbrunner
2e097cd26f Merge pull request #8422 from Calinou/project-manager-mark-as-up-to-date
Mark Using the Project Manager page as up-to-date
2023-11-08 12:11:29 +01:00
Hugo Locurcio
fad430ced6 Mark Using the Project Manager page as up-to-date
Screenshots were recently updated for 4.2.beta's revamped project
manager UI.

This also changes GUI option formatting to use bold text as is
standard elsewhere in the documentation.
2023-11-08 10:50:56 +01:00
Max Hilbrunner
96c26bfd2f Merge pull request #8408 from Calinou/runtime-file-loading-saving-clarify-classref-links
Add class name in classref links in Run-time file loading and saving
2023-11-08 07:37:32 +01:00
Max Hilbrunner
353fa84c9f Merge pull request #8409 from Calinou/improve-gdextension-docs
Improve GDExtension documentation
2023-11-08 07:36:52 +01:00
Max Hilbrunner
0de25a60c4 Merge pull request #8413 from Calinou/fix-unused-images
Fix various cases of unused images
2023-11-08 07:36:10 +01:00
Max Hilbrunner
ed5b87415c Merge pull request #8401 from Calinou/gdscript-code-regions
Document support for code folding regions in GDScript reference
2023-11-08 07:34:45 +01:00
Matthew
7acbeb9c88 Merge pull request #8349 from catslanderer/patch-2
Update scripting_player_input.rst
2023-11-07 21:36:15 -05:00
Matthew
5188e559da Merge pull request #8416 from mdarveau/patch-2
Fixed typo in setting up XR page
2023-11-07 20:01:45 -05:00
Hugo Locurcio
049eebc6f1 Use EditorInterface singleton in Making main screen plugins
This singleton replaces the now-deprecated `get_editor_interface()`
method in Godot 4.2.
2023-11-08 00:48:43 +01:00
Hugo Locurcio
8e264e61e8 Add class name in classref links in Run-time file loading and saving
This is more consistent with the rest of the documentation.
2023-11-08 00:46:34 +01:00
Hex-4
eabd668cb7 fix #8076, update note in gdscript warning system settings page 2023-11-07 23:35:02 +00:00
Matthew
b56a1fe3eb Merge pull request #8412 from Calinou/custom-performance-monitors-fix-unused-image
Fix unused image due to bad syntax in Custom performance monitors
2023-11-07 18:02:38 -05:00
Manuel Darveau
809bea5c76 Fixed typo 2023-11-07 17:06:35 -05:00
David C. Drake
174c02df04 Add missing comma in instancing.rst
I added a comma after 'blueprint' in this sentence: "Instancing, the process of producing an object from a blueprint, has many handy uses."
2023-11-07 10:43:08 -07:00
Hugo Locurcio
071d49a489 Fix various cases of unused images
Some of these images were duplicates or not relevant anymore,
so they have been removed entirely. Others have had their links fixed
or added where relevant.
2023-11-07 18:04:26 +01:00
Hugo Locurcio
c15da78587 Fix unused image due to bad syntax in Custom performance monitors
Comment syntax was used instead of figure syntax.
2023-11-07 17:44:55 +01:00
Hugo Locurcio
8f963d91e8 Improve GDExtension documentation
- Mention additional language bindings that support 4.x (already listed
  on the FAQ and List of features pages).
- Document compatibility issues with double-precision builds.
- Remove `-j4` flag from example as SCons uses most CPU cores
  automatically by default in godot-cpp now.
2023-11-07 14:42:44 +01:00
Hugarty Pedro
deac8080dc Update register_types.h and register_types.cpp in binding_to_external_libraries.rst
Based in https://github.com/godotengine/godot/issues/84456

Change register_tts_types() to initialize_tts_module()
Change unregister_tts_types() to uninitialize_tts_module()
Add parameter ModuleInitializationLevel p_level to uninitialize_tts_module and initialize_tts_module
2023-11-07 08:17:00 -03:00