Commit Graph

4264 Commits

Author SHA1 Message Date
tetrapod00
9c52320183 Add comments about non-monospaced tables 2024-11-13 17:43:51 -08:00
Hugo Locurcio
2d9aeb9740 Update Random number generation for Godot 4.2+ (#9822)
- Document `Array.pick_random()` as a shorthand.
- Use global scope random methods as they are all available in global scope now.
- Remove calls to `randomize()` that are not needed for code samples
  to be functional, as the engine now calls `randomize()` on startup
  once automatically.
2024-11-13 13:59:04 +01:00
Max Hilbrunner
905b1f4f08 Merge pull request #10221 from tetrapod00/codespell-custom
Enforce style guidelines with custom codespell dictionary
2024-11-12 07:51:53 +01:00
Max Hilbrunner
7f6da4887f Merge pull request #10231 from tetrapod00/renderer-state-define
Document CURRENT_RENDERER built-in shader define
2024-11-12 07:51:22 +01:00
Max Hilbrunner
96fe4d15df Merge pull request #10244 from tetrapod00/advanced-postprocess-ndc
Add multiple renderer support to Advanced Postprocessing
2024-11-12 07:41:45 +01:00
Max Hilbrunner
94f9088774 Merge pull request #10249 from tetrapod00/web-rendering
Mention web support in Choosing a renderer section
2024-11-12 07:24:51 +01:00
tetrapod00
b7b3c5909d Mention web support in Choosing a renderer section 2024-11-11 09:45:25 -08:00
Hugo Locurcio
4c3020b775 Document @export_custom and additional range hints in GDScript exports
This also adds a hint suffix example to C# exports.

Co-authored-by: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com>
2024-11-11 17:22:44 +01:00
tetrapod00
389891b9bc Add multiple renderer support to Advanced Postprocessing 2024-11-10 20:02:55 -08:00
Matthew
8daa3af406 Merge pull request #10233 from tetrapod00/debug-tools-outdated
Update list of debugging settings
2024-11-08 20:53:35 -05:00
tetrapod00
6a11d113e7 Update list of debugging settings 2024-11-08 16:15:27 -08:00
Mikael
a362a0a7f2 Update "Size and anchors" to reflect Godot 4.3 terminology (#10216)
Changed relevant occurences of margin with "anchor offset" or "offset".

Also reworded paragraph about aspect ratios, as it included information that may not necessarily be correct.

Also replaced images with newer versions.
2024-11-09 00:08:04 +01:00
tetrapod00
6afebce86f Document CURRENT_RENDERER built-in shader define 2024-11-08 12:40:19 -08:00
tetrapod00
d837593d9a Add custom codespell dictionary 2024-11-07 15:23:32 -08:00
Max Hilbrunner
396fc8fd08 Merge pull request #10227 from tetrapod00/integral-integer
Improve GDScript format strings tutorial
2024-11-08 00:18:03 +01:00
Max Hilbrunner
47455be55a Merge pull request #10222 from tetrapod00/run-time-runtime
Change all usages of "run-time" to "runtime"
2024-11-08 00:14:11 +01:00
tetrapod00
5606be5c75 Improve GDScript format strings tutorial
Remove usages of "integral".
Add section on string concatenation.
Improve organization.
Fix incorrect examples.
2024-11-07 14:45:21 -08:00
Hugo Locurcio
c9ec2428bc Tweak SSRL performance cost in 3D antialiasing comparison table
The screen-space roughness limiter's performance cost is very low
compared to other antialiasing methods (typically in the same
ballpark as FXAA).
2024-11-07 16:58:50 +01:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Matthew
8db59234ae Merge pull request #10214 from tetrapod00/project-settings-links
Link to project settings when mentioning them
2024-11-06 19:15:41 -05:00
Max Hilbrunner
7eb46171d9 Merge pull request #10197 from tetrapod00/lerp-smoothing
Improve interpolation smoothing example
2024-11-06 00:44:04 +01:00
Max Hilbrunner
eee29a2911 Merge pull request #10075 from KleidonBD/patch-1
Fix "or_greater"/"or_less" code example
2024-11-05 22:42:32 +01:00
tetrapod00
a8667ffddf Add links to project setting mentions 2024-11-05 11:55:14 -08:00
tetrapod00
012f0b8a19 Improve interpolation smoothing example
Improves explanation of interpolation ("lerp") smoothing.
Adds a note about framerate-independent version, with off-site links to
full explanations.

Co-Authored-By: aXu-AP <1621768+aXu-AP@users.noreply.github.com>
2024-11-05 11:36:45 -08:00
Max Hilbrunner
5b0f7925be Merge pull request #10171 from tetrapod00/global-const-arrays
Fix inaccurate/misleading note about shader global arrays
2024-11-05 00:45:45 +01:00
Max Hilbrunner
af6ab3db67 Merge pull request #10098 from TheSecondReal0/csharp-signal-parameters
Add C# documentation for connecting to GDScript signals with parameters
2024-11-05 00:44:28 +01:00
Max Hilbrunner
d0d797ccbe Merge pull request #9837 from dementive/best-practices-cpp
Add GDExtension C++ snippets to tutorials/best_practices
2024-11-05 00:41:54 +01:00
tetrapod
f0b5879b85 Link to Getting Started Input tutorial from Input examples page (#10200)
* Link to Getting Started Input tutorial from Input examples page

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-05 00:38:49 +01:00
Max Hilbrunner
c77b4d1905 Merge pull request #10181 from Flarkk/fragcoord
Clarify when `FRAGCOORD.z` is used as depth output
2024-11-05 00:37:26 +01:00
Hugo Locurcio
e954194991 Apply suggestion from Spring arm camera pull request 2024-11-04 20:11:48 +01:00
Nate Moore
ffb7983cc1 Add spring arm third-person camera tutorial (#10156)
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-04 20:11:13 +01:00
Max Hilbrunner
cf448daab0 Merge pull request #10191 from tetrapod00/changelog-44
Add section to Documentation changelog page for 4.4
2024-11-04 00:10:33 +01:00
Max Hilbrunner
d92c2cfc99 Merge pull request #10187 from tetrapod00/rubric-headers
Improve display of rubric fake headers with `:heading-level:` option
2024-11-04 00:08:48 +01:00
tetrapod00
c2262e286f Improve Customizing the mouse cursor
Link to project settings and enum.
Fix C# example script so it works when pasted.
Improve grammar and formatting.
2024-11-03 13:26:39 -08:00
tetrapod00
9cbe1084bd Update documentation changelog for 4.4 2024-11-02 11:52:21 -07:00
tetrapod00
2f634c7acb Improve display of rubric fake headers with heading-level option 2024-11-02 09:42:55 -07:00
tetrapod00
387f478e5a Update documentation changelog for 4.3 2024-11-02 00:06:55 -07:00
Flarkk
7c78f294be Clarify when fragcoord z is used as depth output 2024-10-31 16:36:48 +01:00
Andrey Solomatin
832e85d38a Made edits to match GDScript code order
Updated gdscript_documentation_comments.rst
2024-10-31 12:36:54 +03:00
tetrapod00
ed8b4c8099 Fix inaccurate note about shader global arrays 2024-10-30 02:17:08 -07:00
Max Hilbrunner
e3ce781f0a Merge pull request #10110 from tetrapod00/particles-sidebar-fix
Fix unreachable pages under 3D Particles by using fake headers
2024-10-30 09:02:15 +01:00
Max Hilbrunner
bd00434825 Merge pull request #10167 from tetrapod00/redundant-msaa
Add Antialiasing comparison table, remove redundant MSAA limitations section
2024-10-30 08:38:20 +01:00
tetrapod00
99722f2d78 Add Antialiasing comparison table, remove redundant MSAA limitations section 2024-10-29 16:09:23 -07:00
Anaclecio Brederodes
e01f00f069 Correctly name enum type
Previously the example defined a "MyEnum" enum, but used a "SpellElements" type export. I've changed so it now defines a "SpellElements" enum.
2024-10-29 18:36:16 -03:00
Matthew
f512e1e9f5 Merge pull request #10163 from Calinou/shading-language-tweak-constant
Tweak constant example in Shading language to avoid referring to reserved `PI`
2024-10-29 12:46:01 -04:00
Hugo Locurcio
4679999c4d Tweak constant example in Shading language to avoid referring to reserved PI 2024-10-29 15:15:43 +01:00
Hugo Locurcio
0d3ccb1f6f Mention callback argument count in The JavaScript bridge singleton 2024-10-29 15:06:53 +01:00
Max Hilbrunner
84842ebe00 Merge pull request #10142 from adamscott/add-web-export-file-name-section
Add Web export file name section
2024-10-28 23:23:10 +01:00
Max Hilbrunner
cc48adbf4e Merge pull request #10080 from tetrapod00/gdscript-sidebar
Improve GDScript Basics sidebar navigation by changing header levels
2024-10-28 23:22:36 +01:00
Max Hilbrunner
18092b00e2 Merge pull request #10151 from adamscott/add-caption-filename
Add filenames as captions for code blocks
2024-10-28 23:21:39 +01:00