Commit Graph
2862 Commits
Author SHA1 Message Date
Max Hilbrunner 0dcaaefac8 Merge pull request #7258 from jynus/issue7247
Update usages of obsolete rad2deg() and deg2rad() in docs
2023-05-01 16:49:18 +02:00
Jcrespo 6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
Max Hilbrunner 8301ce8885 Merge pull request #7238 from Piralein/animation
Update "2D Sprite Animation" Page
2023-05-01 10:47:43 +02:00
Max Hilbrunner 153ccd57e5 Merge pull request #7249 from K1aymore/patch-1
Remove unneeded repetition in gdscript_basics.rst
2023-05-01 10:44:29 +02:00
Max Hilbrunner 64c7224f8f Merge pull request #7240 from feakuru/patch-1
Clarified TimeScale node parameter name
2023-05-01 10:42:32 +02:00
Max Hilbrunner b2d4a481c4 Merge pull request #7252 from cammytown/patch-1
minor grammar and typo in gdscript_documentation_comments.rst
2023-05-01 10:36:08 +02:00
skyace65 5a93a4cd9c Update image on standard material page 2023-04-30 19:41:12 -04:00
Cameron da69035b1c minor grammar and typo in gdscript_documentation_comments.rst 2023-04-30 10:47:39 -07:00
and-radandHugo Locurcio 332399538b Add 3D particles documentation (#5535)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-04-30 14:25:13 +02:00
Klaymore 627fd49e90 Remove unneeded repetition in gdscript_basics.rst 2023-04-29 21:54:17 -07:00
Max Hilbrunner 57384b8dca Merge pull request #7170 from Calinou/running-on-mac-path-randomization
Document bypassing Gatekeeper path randomization in Running on macOS
2023-04-29 17:55:07 +02:00
Dmitry Orlov db6caacb58 Clarified TimeScale node parameter name 2023-04-28 15:30:32 +03:00
Hana - Piralein a61252f021 update images and line breaks 2023-04-28 13:10:54 +02:00
Max Hilbrunner e6dbfe17ce Merge pull request #7236 from Piralein/shader🧙‍♂️
Your first 3D shader - update outdated images and information
2023-04-28 02:53:11 +02:00
Hugo Locurcio 2d4f9e6f98 Document bypassing Gatekeeper path randomization in Running on macOS 2023-04-28 01:40:21 +02:00
red thing 3bc758d062 set_shader_param -> set_shader_parameter (#7235)
It was renamed in Godot 4.
2023-04-27 09:45:42 -07:00
Rémi Verschelde d646a58465 Merge pull request #7222 from YuriSizov/zips-zapped
Move tutorial ZIPs to a dedicated repository
2023-04-27 15:51:37 +02:00
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
Yuri Sizov 0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +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