Commit Graph
2844 Commits
Author SHA1 Message Date
Hana - Piralein 9dc3996534 update outdated images and information 2023-04-27 14:31:45 +02:00
Johan 930ad1f77b Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders (#7194) 2023-04-26 10:23:20 -07:00
Mark Wilson 872e5ff840 Fix C# issues in inspector-plugin tutorial (#7223)
* Fixed C# EditorInspectorPlugin _CanHandle parameter type

Updated Inspector Plugin tutorial to reflect that C#'s
EditorInspectorPlugin::_CanHandle() takes a GodotObject, not a
Variant.

* Eliminated horizontal scroll in C# for inspector-plugin tutorial

Put a line-break and indentation to avoid horizontal scrolling in
the displayed code.

* Fixed _ParseProperty() method signature and undeclared variable

Changed example code for EditorInspectorPlugin::_ParseProperty():
* Fixed method signature
* Use new enum type of parameter for comparison instead of int.
* Use "name" parameter as property-identifying argument to
AddPropertyEditor() instead of undeclared variable

* Fixed override method name in EditorProperty example

Updated example to use virtual method _UpdateProperty() instead of
non-virtual method UpdateProperty().
2023-04-26 18:50:51 +02:00
DoonvandYuri Sizov bd77af86e6 Fix small typo in the GDExtension C++ example (#7224)
* Fix typo in the GDExtension C++ example

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-04-26 18:48:31 +02:00
PixdigitandYuri Sizov ef7dad0f4b Replace legacy setget in tool tutorial (#7225)
* Replace legacy setget in tool tutorial

Replace reference to legacy setget keyword and replace it with the new setter style in the "Running Code in the Editor" tutorial.

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-04-26 12:49:37 +02:00
Daniel Delgado 754dfdafab Configuring node import options fix
Changed NavMesh to Occluder as meant by the documentation and the image above.

Here is the original page: https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_scenes.html

Here is the issue where this was mentioned: https://github.com/godotengine/godot-docs/issues/6201#issuecomment-1371629067

Additionally, I would break the parent issue above into check boxes to make them more easily trackable. That, and separate the proposals for improvements from actual issues where things are not documented. So the actual issue can be worked on more easily and closed.
2023-04-25 16:31:53 +02:00
Calcilore 61b447f4a5 Fix typo in inputevent.rst
Indivitual was changed to Individual
2023-04-25 04:04:56 +10:00
Matthew 4869c61cb2 Merge pull request #7201 from MisoMosiSpy/mouse_cursor_screenshot
Update custom mouse cursor selection screenshot
2023-04-23 20:45:52 -04:00
Matthew cd7b520c76 Merge pull request #7210 from jynus/issue7162
Update code to 4.0+ for screenshotting the viewport tutorial
2023-04-23 20:38:23 -04:00
Jcrespo 2ec7eefc81 Update code to 4.0+ for screenshotting the viewport tutorial
The viewport tutorial:
https://docs.godotengine.org/en/latest/tutorials/rendering/viewports.html

did not work for Godot 4- as instead of get_data() from
Texture one should use get_image() from Texture2D.

Also setting a texture didn't work as documented, fixed too.
Tested by using the code on a simple scene with a sprite.

This should be backported to 4.0 branch, but not previous ones.

Fixes #7162
2023-04-23 00:40:14 +02:00
Robin Gustafsson 25604d5c13 Fix formatting of pluralization code examples 2023-04-22 15:10:34 +02:00
Dipal Zambare 2c1554680e Update custom mouse cursor selection screenshot 2023-04-21 13:11:46 +02:00
Max Hilbrunner 4cc818f793 Merge pull request #7183 from mhilbrunner/http-docs
Update HTTP docs for Godot 4
2023-04-21 04:34:36 +02:00
Max Hilbrunner 666b55ca77 Update HTTP docs for Godot 4 2023-04-21 04:30:54 +02:00
Max Hilbrunner 4dfaee8805 Merge pull request #7193 from wlsnmrk/plugin-script-path
Fix file-path strings in C# for plugin tutorial
2023-04-21 03:46:06 +02:00
Max Hilbrunner b0e8d41fa4 Merge pull request #7195 from smix8/navigationagent_scripts_4.x
Fix NavigationAgent script examples
2023-04-21 02:48:42 +02:00
Hugo Locurcio 1bd3513507 Mention maximum recommended size of 128×128 in Customizing the mouse cursor
Sizes larger than 128×128 are not supported in web exports and can exhibit
rendering issues on desktop platforms.
2023-04-21 02:07:01 +02:00
smix8 9e0706b087 Fix NavigationAgent script examples
Fixes NavigationAgent script examples.
2023-04-20 21:42:07 +02:00
Mark Wilson 93922aaa8c Fixed C# file-path strings for example plugin resources
The example (tutorial) plugin resides in an addons/my_custom_node
subdirectory of its project. The C# example code uses the same
relative path structure for a custom script and icon as the
GDScript example. These paths cause errors when the user activates
the plugin, as Godot looks for the resources in the root directory
of the project. This change fixes the errors by using the fully
qualified "res://" path to the resources in the C# example code.
2023-04-20 00:42:08 -04:00
John Veness 05153f071e Fix backquoted text in Controllers doc
It seems the space is required before the backquotes
2023-04-18 20:05:59 +01:00
Max Hilbrunner f6d5e2cb2c Merge pull request #7185 from and-rad/android-keystore
Added note about key and keystore passwords to Exporting for Android …
2023-04-18 19:31:50 +02:00
Andreas Raddau 95f010f640 Added note about key and keystore passwords to Exporting for Android page 2023-04-18 16:25:45 +02:00
Ross Rothenstine deb969b97a Adds a @UsedByGodot mention in the Android Plugin docs. (#7151) 2023-04-18 16:33:03 +03:00
Max Hilbrunner 5593a181c5 Merge pull request #7117 from BastiaanOlij/xr_loaders_asset_library
Change OpenXR loader documentation to refer to new asset library entry
2023-04-18 04:26:37 +02:00
Bastiaan Olij 922810af38 Change OpenXR loader documentation to refer to new asset library entry 2023-04-18 04:22:03 +02:00
Peter Anderson 5cbf147988 Fix grammer in logic_preferences.rst (#7173)
* Update logic_preferences.rst
2023-04-18 03:09:30 +02:00
Max Hilbrunner 7cc873c2dd Remove duplicate the-the 2023-04-18 03:02:23 +02:00
Max Hilbrunner 64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
Max Hilbrunner e24bcbe0ad Merge pull request #7174 from BWPanda/patch-2
Fix broken images in managing_editor_features.rst
2023-04-17 20:56:01 +02:00
Peter Anderson 519534ad8d Update canvas_layers.rst 2023-04-17 06:38:27 +00:00
Peter Anderson ea8b139db8 Update managing_editor_features.rst 2023-04-17 06:25:28 +00:00
Max Hilbrunner c8e345dd1b Merge pull request #7169 from Calinou/add-physics-troubleshooting
Add a page on troubleshooting common physics issues
2023-04-16 23:48:36 +02:00
Hugo Locurcio 4992f01016 Add a page on troubleshooting common physics issues
This covers the most commonly encountered physics issues one may
encounter while developing a project.
2023-04-16 18:10:37 +02:00
Matthew a46bf08269 Merge pull request #7132 from mateuseap/master
Fix in methods names used in Using ImmediateMesh 3d tutorial
2023-04-15 18:04:58 -04:00
Max Hilbrunner 495fe46d53 Merge pull request #7160 from mhilbrunner/shader-docs
Complete render modes list in shaders docs
2023-04-14 04:23:21 +02:00
Max Hilbrunner 996456fb34 Merge pull request #7133 from mateuseap/fix/multiMeshExample
Fix in MultiMesh example
2023-04-14 03:29:05 +02:00
Max Hilbrunner 628d4f94d2 Complete render modes list in shaders docs 2023-04-14 03:19:55 +02:00
Bastiaan Olij e36ef29eba Add descriptions of multiview build-ins and EYE_OFFSET to shader reference 2023-04-14 02:47:57 +02:00
iwVerve 7b4684b7a0 missing word typo on documentation comments page 2023-04-11 14:07:12 +02:00
Daniel Delgado db45a5378b Fixed 'Reporting node configuration warnings' code snippet
- Switched .size for .length
- initialized warnings as empty array
- warning.append instead of +=
- deleted new line
2023-04-10 12:13:12 +02:00
Matthew 2d3aabfc2a Merge pull request #7115 from smix8/navlinks_to_overviews_4.x
Add NavigationLinks to navigation overviews
2023-04-09 18:51:12 -07:00
Max Hilbrunner 9d3abe964a Merge pull request #7136 from Calinou/multiple-resolutions-add-scale
Document custom scale factor in Multiple resolutions
2023-04-10 00:25:28 +02:00
Alfonso Arbona Gimeno a9076972a7 Fix small typos in the particle shader doc
A word was missing a letter and a description had a wrongly capitalized word. Now it matches the rest of the document
2023-04-09 04:43:06 +00:00
Hugo Locurcio bc15bd0e1c Document custom scale factor in Multiple resolutions
- Mention how to change each stretch-related property at runtime
  from a script.
- Link to the Multiple Resolutions and Aspect Ratios demo project.
- Remove outdated Shrink section (this is no longer present in 4.0,
  as it was replaced by Scale).
2023-04-08 19:17:29 +02:00
Mateus Elias 2aa7d47821 fix(tutorials/performance/using_multimesh.rst): removed out of date code 2023-04-08 10:07:33 -03:00
Mateus Elias 8e7ed802b0 fix(tutorials/3d/procedural_geometry): ImmediateMesh tutorial adjusted 2023-04-08 09:34:53 -03:00
Hugo Locurcio 99aac88083 Fix incorrect :abbr: usage for abbreviation display
Previously, some abbreviations would display their full form in the text
and the abbreviation in the tooltip. It should be the other way around.
2023-04-07 22:47:30 +02:00
Tom McLeanandClay John 78b978c9bd Fix references to DEPTH_TEXTURE and SCREEN_TEXTURE (#7119)
* Fix references to DEPTH_TEXTURE

---------

Co-authored-by: Clay John <claynjohn@gmail.com>
2023-04-07 18:32:25 +02:00
Yu umo 875df05d40 Update inputevent.rst (#7126)
A samll spelling mistake.
2023-04-06 14:44:54 -07:00
devSomethingSomethingandClay John 32efbe064f Fix typo in introduction_to_3d.rst (#7122)
* Fix typo in introduction_to_3d.rst

* Update number of hyphens in tutorials/3d/introduction_to_3d.rst

Co-authored-by: Clay John <claynjohn@gmail.com>

---------

Co-authored-by: Clay John <claynjohn@gmail.com>
2023-04-06 09:27:56 -07:00