Commit Graph

2450 Commits

Author SHA1 Message Date
Anthony Cossins
f994d270f8 Update references to Color constants for Godot 4 (#6602) 2023-01-14 00:19:09 +01:00
Hugo Locurcio
e2313a8395 Improve Shader preprocessor documentation (#6563) 2023-01-13 21:33:07 +01:00
Paul Joannon
ac22d6e537 Update & fix C# blocks under tutorials/scripting/
- `_Process` and `_PhysicsProcess` take their delta argument as a `double`
- Use string interpolation instead of concatenating strings
- Use `string` instead of `String` (`using System` was removed from everywhere in a previous PR)
- Use `System.Array.Empty<T>()` to init empty arrays
- Use `SignalName.*` instead of `nameof(*)` for signals
- Do not use `event` as an argument name (that's a keyword)
- Match node paths to screenshots when retrieving nodes from the tree
- Add a C# example for scene unique nodes
- Update the "Cross language scripting" page
- Add a note about using `is` against `null`
2023-01-13 20:41:23 +01:00
Yuri Sizov
c5f066b27e Merge pull request #6343 from alcomposer/patch-1
Replace the hint_albedo hint with source_color in the shading reference
2023-01-13 16:52:33 +03:00
Yuri Sizov
a20c7f494e Merge pull request #6581 from Piralein/partial🔑
Update C# code samples in Getting Started and Tutorials
2023-01-13 15:59:11 +03:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Max Hilbrunner
bbfc8ac054 Merge pull request #6584 from smix8/doc_navregion_choice_paralysis_4.x
Fix NavigationRegion choice paralysis
2023-01-11 23:50:13 +01:00
smix8
ba40296563 Fix NavigationRegion choice paralysis
Users were clearly overwhelmed with this choice what to pick.
2023-01-11 22:36:24 +01:00
Amaral Krichman
0ac2031972 tutorials/physics/ray-casting: Update missing v4 fixes (#6439) 2023-01-11 22:02:16 +01:00
Max Hilbrunner
322e0f5802 Merge pull request #6466 from kkoang/patch-4
Update physics_introduction.rst
2023-01-11 21:59:17 +01:00
Max Hilbrunner
74080ae210 Merge pull request #6473 from kkoang/patch-7
Modify code adaptation 4.0 physics_introduction
2023-01-11 21:57:28 +01:00
smix8
0443713ca1 Fix missing var in NavigationAgent script example
Fixes missing var for CharacterBody3D NavigationAgent script example.
2023-01-11 21:20:06 +01:00
JoNax97
fc52ca81f7 Update Pausing Games tutorial to match the 4.0 API (#6518)
* Update Pausing Games tutorial to match the 4.0 API

Some parts of the page were referring to the 3.x API, I've updated them following the observed behavior and API of 4.0beta9

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-11 14:45:50 +01:00
smix8
dcc9cfae1c Add detail for common NavigationMesh user misconceptions
Adds note and more detailed explanation for common navigation mesh or navigation system user misconceptions.
2023-01-11 09:21:44 +01:00
Yuri Sizov
dbfe3b1d26 Reorganize documentation for contributors
- Merge Community/Contributing and Engine Development into one top-level section, Contributing.
- Structure it in a way that gives equal priority to various ways to contribute, including documentation.
- Rename several articles to be more comprehensive and in line with the overall state of the documentation.
- Rewrite the guide for class reference contributions.
2023-01-10 01:49:30 +03:00
Max Hilbrunner
af8ccbe56b Merge pull request #6396 from Sauermann/fix-input-event-tutorial
Update Input Event Tutorial
2023-01-09 23:03:44 +01:00
Max Hilbrunner
f38e40e858 Merge pull request #6544 from Simo-1234/patch-1
Error in the C# style guide
2023-01-09 20:54:07 +01:00
Max Hilbrunner
b0eff76a0f Merge pull request #6569 from jmdejong/patch-3
fix imulExtended description
2023-01-09 06:48:03 +01:00
Winston
0e69978598 Use 32 bits when converting back from bytes in Using compute shaders (#6571)
Fixes an oversight from a previous documentation update.
2023-01-09 01:37:25 +01:00
Max Hilbrunner
b8dcd3f18f Merge pull request #6553 from smix8/navregion_doc_update_4.x
Clarify NavigationServer created regions
2023-01-09 00:17:33 +01:00
J.M. de Jong
116cfdf9b7 fix imulExtended description 2023-01-08 18:38:02 +01:00
Sheep
82c49b952f fixed a typo in cpu optimizations (#6566) 2023-01-07 11:38:14 -08:00
Thiago Lages de Alencar
591296ceb3 Update in description (#6526)
* Update `in` description

It can be used without the `if` keyword
It appears as keyword in gdscript tokenizer: 0103af1ddd/modules/gdscript/gdscript_tokenizer.cpp (L474)
2023-01-06 01:00:57 +01:00
Max Hilbrunner
3b5e316d11 Merge pull request #6551 from c-schembri/patch-1
Update C# code example
2023-01-06 00:47:20 +01:00
Yuri Sizov
3f8fd6d127 Rename Tutorials to Manual, move migration guide to a higher level (#6509) 2023-01-05 15:37:47 -08:00
Jon Gonzalez
b603b1df3a Update compute_shaders.rst (#6468) 2023-01-04 12:21:43 -08:00
smix8
9b190a7254 Clarify NavigationServer created regions
Clarify that NavigationServer create navigation regions do not join a navigation map automatically like a NavigationRegion node would. The server API created regions need a manual map assignment with region_set_map().
2023-01-03 03:33:53 +01:00
Curtis
4342e03419 Update C# code example
Use the `Root` property instead of the deprecated `GetRoot` method.
`PropagateNotification` accepts an `int` and not a `long`, and so `NotificationWmCloseRequest` needs to be cast to `int`.
2023-01-03 03:03:14 +10:00
Simo-1234
e5f4132e16 Error in the C# style guide
There was written tertiary operator instead of ternary
2022-12-31 11:33:37 +01:00
AndrewPerson
ac4995d01e Fixed incorrect Texture type in example 2022-12-30 15:37:30 +11:00
Yuri Sizov
97e69ebc72 Merge pull request #6481 from Piralein/gd-export
Update GDScript Export Docs
2022-12-30 02:17:59 +03:00
Hana
74804eb8e9 update gdscript export docs 2022-12-29 22:20:33 +01:00
Yuri Sizov
da5f51317c Merge pull request #6522 from YuriSizov/fix-more-formatting
Fix reported formatting issues and property references
2022-12-29 19:01:30 +03:00
31
0ed7937482 Fix Resource scripting blocks and C# examples 2022-12-28 22:35:47 -08:00
Yuri Sizov
6b9ec31b0a Fix reported formatting issues and property references 2022-12-27 21:25:42 +03:00
Max Hilbrunner
47506dd4b0 Merge pull request #6507 from smix8/doc_fix_navdiffactortypes_4.x
Fix Navigation doc for different actor types due to recent renames
2022-12-27 17:53:39 +01:00
J.M. de Jong
7fe43cfc8e Update Shading language to refer to set_shader_parameter() (#6515) 2022-12-26 17:21:06 +01:00
smix8
512307b829 Fix Navigation doc for different actor types due to recent renames
Fixes Navigation doc for different actor types due to recent renames.
2022-12-25 18:33:15 +01:00
Yuri Sizov
b5318a6c11 Fix formatting issues from recent PRs (#6511) 2022-12-24 20:54:18 +01:00
Hugo Locurcio
319106ba2b Document global and per-instance uniforms in Shading language (#6414) 2022-12-23 17:30:28 +01:00
Max Hilbrunner
23a41a3f48 Merge pull request #6421 from smix8/doc_navigationpathqueryobjects_4.x
Add documentation for NavigationPathQuery objects
2022-12-23 16:36:35 +01:00
Max Hilbrunner
3c3c932f3d Merge pull request #6499 from vmedea/2022-12-enum-type
static_typing: Cyclic type dependencies and enums as types are now possible
2022-12-22 08:44:25 +01:00
Hugo Locurcio
66a2c78be7 Clarify methods of installing Android SDK in Exporting for Android 2022-12-21 18:49:57 +01:00
Hugo Locurcio
c2f173cb8c Add a page on 3D resolution scaling (#6331) 2022-12-20 16:40:15 +01:00
smix8
f3836770ca Fix NavigationServers doc due to recent renames
Fixes NavigationServers  doc page due to recent function renames.
2022-12-19 20:47:52 +01:00
smix8
0833423019 Add documentation for NavigationPathQuery objects
Adds documentation how to use the NavigationPathQueryParameters and NavigationPathQueryResult objects.
2022-12-19 20:13:18 +01:00
Hugo Locurcio
62c1050bac Add a page on custom performance monitors (#6409) 2022-12-19 17:48:40 +01:00
Hugo Locurcio
58fea1e068 Update SCons option to precision=double in Large world coordinates (#6474) 2022-12-19 17:47:59 +01:00
Mara Huldra
66c620583f static_typing: Cyclic type dependencies and enums as types are now possible 2022-12-18 18:24:22 +01:00
smix8
6927eed8f6 Fix NavigationMeshes doc due to recent renames
Fixes NavigationMeshes doc page due to recent function renames and other navigation anti-abbreviations changes.
2022-12-18 03:14:06 +01:00