Commit Graph
2548 Commits
Author SHA1 Message Date
Yuri Sizov 6d5adf61a8 Merge pull request #6677 from raulsntos/dotnet/array-docs
C#: Add table with equivalent Array methods
2023-02-04 19:56:16 +03:00
Raul Santos 84d7a0f8d8 C#: Add table with equivalent Array methods 2023-02-04 17:49:11 +01:00
Yuri Sizov 41ccb262aa Merge pull request #6721 from raulsntos/dotnet/globalscope-docs
C#: Add table with equivalent GlobalScope methods
2023-02-04 19:35:32 +03:00
Marvin 6fe03f9bfe Small C# fix in the "Arc polygon function" section (#6729) 2023-02-04 19:27:48 +03:00
Raul Santos d7f4e6b607 C#: Add table with equivalent GlobalScope methods 2023-02-04 17:07:39 +01:00
Raul SantosandPaul Joannon b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Matthew d6b4fe8ab9 Merge pull request #6603 from Calinou/update-importing-3d-scenes
Update Importing 3D scenes documentation for Godot 4.0
2023-02-03 19:31:26 -05:00
Yuri Sizov 5b59294b8d Merge pull request #6720 from notPelf/patch-1
Clarify ternary operator in the style guide
2023-02-03 18:20:14 +03:00
Matthew 8f0a570fcf Merge pull request #6216 from Calinou/revamp-gi-docs
Revamp global illumination documentation
2023-02-02 21:13:57 -05:00
Matthew bce6dd6001 Merge pull request #6707 from runny-yolk/patch-1
Linking between First 2D Shader and Custom Drawing
2023-02-02 20:43:37 -05:00
notPelf beb5f02422 Clarify ternary operator in the style guide
In the current style guide, the example for ternary operators includes a "not" in the conditional which is the same text color as the preceding "if" giving the impression that the format for a ternary operation is "[some_value] if not [condition] else [other_value]" which is incorrect, and may be confusing to figure out. I'm new to Godot and I've never used python (which I understand GDScript is based on). My only experience is with c# which I don't believe has a "not" keyword so I was quite confused by this.

This change would remove "not" from the condition to eliminate confusion, and rearrange the values to keep the meaning of the example code the same. Any alternative that removes the "not" would also work.
2023-02-01 18:41:48 -05:00
Bastiaan Olij 1ce191bd76 Fix headings in XR action map documentation 2023-02-02 09:42:04 +11:00
Eddie (Xiao Di) Li 5c80189d97 Update Saving games documentation for Godot 4.0 (#6371) 2023-02-01 16:25:47 +01:00
Hugo Locurcio 6e3881b06a Fix default deadzone value in Controllers, gamepads and joysticks (#6701) 2023-02-01 16:01:54 +01:00
Max Hilbrunner 72d70b10d4 Merge pull request #6708 from jeudytuanisapps/patch-1
Add new 3rd party company
2023-02-01 15:36:31 +01:00
Max Hilbrunner fdfd8c7c17 Merge pull request #6633 from BastiaanOlij/add_xr_action_map_docs
Add documentation about the XR action map
2023-02-01 09:20:09 +01:00
Max Hilbrunner f41639577e Merge pull request #6700 from paulloz/csharp/signals-must-be-public
C# signal delegates must be public
2023-02-01 07:51:36 +01:00
Clay JohnandHugo Locurcio c59431e9bd Rewrite compute shader tutorial (#6698)
* Rewrite compute shader tutorial

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-02-01 07:50:28 +01:00
Max Hilbrunner 793bae8f73 Merge pull request #6702 from Calinou/controllers-vibration
Document vibration in Controllers, gamepads and joysticks
2023-02-01 07:39:12 +01:00
Max Hilbrunner a7ff0b1b1c Merge pull request #6705 from Calinou/2d-lights-and-shadows-additive-sprites
Document using additive Sprite2D as a faster alternative in 2D lights and shadows
2023-02-01 07:35:48 +01:00
Max Hilbrunner 71cc131e81 Merge pull request #6710 from clayjohn/AT_LIGHT_PASS
Correct CanvasItem shader docs about AT_LIGHT_PASS builtin
2023-02-01 07:35:17 +01:00
clayjohn 0d50796dae Correct CanvasItem shader docs about AT_LIGHT_PASS builtin 2023-01-31 15:10:02 -08:00
addmix b865eb2959 Fixed typo in spatial shader reference. 2023-01-31 13:54:51 -07:00
jeudytuanisapps ced6e6ee3f Add new 3rd party company
Add new 3rd party company that offers port and publishing.
2023-01-31 10:12:47 -06:00
runny-yolk 71f4dd731d Linking between First 2D Shader and Custom Drawing 2023-01-31 15:17:12 +00:00
Hugo Locurcio 5045245cf7 Document using additive Sprite2D as a faster alternative in 2D lights and shadows 2023-01-30 21:47:21 +01:00
Hugo Locurcio 6e453527b1 Revamp global illumination documentation
- Add an introduction page with an explanation and comparison table.
- Add a page on faking global illumination.
2023-01-30 17:31:53 +01:00
Hugo Locurcio d15472a7b9 Document vibration in Controllers, gamepads and joysticks 2023-01-30 15:00:10 +01:00
Paul Joannon ebdd928c06 C# signal delegates must be public 2023-01-30 10:27:03 +01:00
Bastiaan Olij 7f17deb948 Add documentation about the XR action map 2023-01-30 16:15:23 +11:00
Matthew 84014af514 Merge pull request #6690 from Calinou/update-template-feature-tag
Update name of `template` feature tag in Feature tags
2023-01-28 20:37:10 -05:00
Matthew e37fcde0af Merge pull request #6691 from paulloz/csharp/cs1612-and-basics-page-updates
Updates to C# basics (prerequisites / setup + start common errors section)
2023-01-28 18:20:14 -05:00
Paul Joannon 16d09985cd Updates to C# basics + explain CS1612
- Replace mentions to Mono with mentions to .NET 6
- Update prerequisites / setup instructions
- Update 'attach script' image
- Fix code guidelines
- Add a 'common errors' section with an explanation about CS1612
2023-01-28 22:37:44 +01:00
Yuri Sizov da6dad7b18 Merge pull request #6678 from raulsntos/dotnet/quaternion-docs
C#: Remove outdated Quaternion documentation
2023-01-28 23:51:29 +03:00
Raul Santos db63931309 C#: Add table with equivalent Dictionary methods (#6676) 2023-01-28 23:45:41 +03:00
Raul Santos 831dc13e1f C#: Remove outdated Quaternion documentation 2023-01-28 21:43:45 +01:00
Mach565 d089a504e9 Continue no longer works in a match statement (#6674) 2023-01-28 23:33:30 +03:00
Yuri Sizov e2df72255a Merge pull request #6680 from raulsntos/dotnet/plane-docs
C#: Remove Plane section from C# differences page
2023-01-28 22:45:21 +03:00
Rudi f51c77dd7f Replace ButtonList enum with MouseButton (#6334)
Replace `ButtonList` enum with `MouseButton`

Switched `ButtonList` enum to `MouseButton` since `MouseButton` is defined in `InputEventMouse`, while `ButtonList` was undefined in `Godot` namespace.
2023-01-28 22:38:23 +03:00
Yuri Sizov d0cc4cbbd8 Merge pull request #6679 from raulsntos/dotnet/color-docs
Add Color section to C# differences page
2023-01-28 22:36:44 +03:00
Hugo Locurcio 68071353a2 Update name of template feature tag in Feature tags 2023-01-28 20:05:56 +01:00
Raul Santos 17ca353ae6 Add Color section to C# differences page 2023-01-28 18:43:29 +01:00
Josh Jones 8bfe0ee753 Update for Callable in NavigationAgent callbacks 2023-01-27 23:59:34 -08:00
Yuri Rubinsky 9eb73f0295 Merge pull request #6684 from Chaosus/shader_derivative 2023-01-28 09:51:20 +03:00
Yuri Rubinsky aed85898c4 Add derivative with precision shader functions 2023-01-28 09:33:48 +03:00
Matthew 9dd795a6f2 Merge pull request #6461 from smix8/doc_navagent_rename_location_4.x
Update NavigationAgent doc with 'location' to 'position' rename
2023-01-27 22:25:54 -05:00
Raul SantosandYuri Sizov 55dd91b1e6 Update some of the C# documentation for 4.0 (#6681)
* Update C# documentation for 4.0

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-01-28 01:17:38 +01:00
Yuri Sizov 3c3c65d4d1 Merge pull request #6686 from raulsntos/dotnet/defines
C#: Add TOOLS define and remove custom features
2023-01-27 20:36:58 +03:00
Yuri Sizov 2090596dcc Merge pull request #6673 from dalexeev/fix-code-cdi2d
Fix code examples on "Custom drawing in 2D" page
2023-01-27 20:29:49 +03:00
Raul Santos ebd89d2569 C#: Add TOOLS define and remove custom features
- The `TOOLS` define wasn't documented anywhere.
- Add `GODOT_REAL_T_IS_DOUBLE` define to the list.
- Custom features as defines were removed and are no longer added.
2023-01-27 18:14:11 +01:00