Commit Graph
2894 Commits
Author SHA1 Message Date
The Tophat Demon 5aa58b07ce Corrected sample code in import_plugins.rst
The sample code listed the function ``get_import_options`` when it most likely meant ``_get_import_options`` (with an underscore in front). Some of the sample code also used the outdated File API instead of the FileAccess API.

Corrected more function names. Updated parameters for _get_import_options and _get_preset_name in sample code.
2023-05-09 08:29:52 -05:00
Max Hilbrunner 11899ee498 Merge pull request #7314 from Calinou/lightmapgi-uv2-primitive-bake-vram 2023-05-08 23:00:34 +02:00
Hana - Piralein ef3b44ef4e update images and related information 2023-05-08 21:22:06 +02:00
Hugo Locurcio 5534016ac1 Document UV2 generation for primitive meshes and VRAM caveats in Using LightmapGI 2023-05-08 20:10:34 +02:00
34350f8a12 Document StandardMaterial3D refraction limitations (#7301)
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-08 16:03:43 +02:00
kkoang 68bc1ed4f4 Update using_area_2d.rst 2023-05-07 17:05:52 +08:00
kleonc f3ada36d06 Fix incorrect reference to PacketPeerUDP.bind in migrating tutorial 2023-05-06 17:02:32 +02:00
Max Hilbrunner 80a92f4071 Merge pull request #6626 from RedMser/patch-3 2023-05-06 15:00:09 +02:00
Max Hilbrunner cc581494a4 Merge pull request #7276 from Calinou/validation-layers-add-desktop-platforms 2023-05-06 14:57:50 +02:00
Max Hilbrunner f074390e4d Merge pull request #7292 from Calinou/gamepads-focus-sleep-prevention 2023-05-06 14:56:57 +02:00
Max Hilbrunner f9b5650149 Merge pull request #7168 from Calinou/compute-shaders-tdr 2023-05-06 14:55:09 +02:00
Hugo Locurcio 7c72ffacaf Mention Windows graphics driver TDR issues on Using compute shaders
This is a frequently encountered issue when working with complex
compute shaders.
2023-05-06 03:25:28 +02:00
Hugo Locurcio 50b7c155ad Document focus and sleep caveats in Controllers, gamepads and joysticks
- Improve line wrapping for long lines in scripts.
- Remove outdated paragraphs about Godot 3.3 changes.
2023-05-06 02:11:19 +02:00
kkoang 995196806e Update rigid_body.rst 2023-05-06 03:03:49 +08:00
Hugo Locurcio b5e9b75bec Document setting up Vulkan validation layers on desktop platforms 2023-05-05 19:54:37 +02:00
AV77 de8348230c Replaced all instances of "hard drive" with "local storage" (#7287) 2023-05-05 13:34:34 +02:00
kkoang 7f6a4084fb Update physics_introduction.rst
Fix the code so that it can run normally and correct some of the document errors
2023-05-05 19:27:43 +08:00
Max Hilbrunner d354e429be Merge pull request #7277 from JohanAR/light_specular 2023-05-05 13:22:21 +02:00
Douglas Leão 80be679912 Console support: Improve explanation and restructure (#5764) 2023-05-05 12:53:42 +02:00
Max Hilbrunner ee9ece3a05 Merge pull request #6961 from FeatherAntennae/patch-3 2023-05-05 12:27:29 +02:00
Max Hilbrunner 8e66f49a56 Merge pull request #7281 from kkoang/patch-3 2023-05-05 12:08:38 +02:00
FeatherAntennae 58e03e3afc - Rebased on master
- Replaced the "empty string" with "empty array" in the comment about how to report no errors.
- Renamed warning variable to warnings to indicate that it can contain multiple warnings.
2023-05-04 18:05:41 -04:00
kkoang c7a6bfc834 Update physics_introduction.rst 2023-05-05 03:07:35 +08:00
Michael Macha b8830332a5 Clarified statement
Previously, the section on ADD_SIGNAL was a little convoluted and not entirely correct. I've fixed mild grammatical issues and expanded on it for new programmers, addressing these issues.
2023-05-04 12:17:26 -06:00
Max Hilbrunner 5e04f6550c Merge pull request #6565 from piyushmulatkar/patch-1 2023-05-04 14:03:31 +02:00
Johan Aires Rastén d3f0ec6c3a Add SPECULAR_AMOUNT spatial light shader built-in 2023-05-04 09:45:05 +02:00
Max Hilbrunner 3283eae7d8 Merge pull request #7271 from Calinou/gdscript-add-breakpoints
Document how to add breakpoints in the editor and using `breakpoint`
2023-05-03 20:58:47 +02:00
Hugo Locurcio 698c40e72a Document how to add breakpoints in the editor and using breakpoint
Until now, there was little documentation on how to create breakpoints
(including persistent ones with the `breakpoint` keyword). This may
not be obvious to those who haven't used other IDEs before.

This also documents' breakpoints persistent behavior since the editor
state is saved.
2023-05-03 20:26:46 +02:00
Russell Matney fe3b20f903 docs: add script templates example
Ran into this today - the docs are good but could use an actual example
to confirm what they imply. Using a node name as a directory name is
kind of odd - this would have helped me figure it out at a glance.
2023-05-02 16:44:09 -04:00
Jcrespo eb8aaec92f Update one-click bar appearance (remote debug icon)
One-click deploy used to show an Android icon, when available.
Nowadays, remote debug (aka one-click deploy) for web and Android
found under the same submenu in the top right buttons.

Show the new icon with the submenu open instead.

Image has been lightly edited from a 4.0.X screenshot to avoid
distracting elements. New image sent in .webp format.

No other references to the old image found on docs.

Fixes #7226
2023-05-02 12:48:04 +02:00
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