Commit Graph

2327 Commits

Author SHA1 Message Date
Max Hilbrunner
b82cd0690d A bunch of renames for Godot 4.0 2022-10-15 18:19:12 +02:00
Max Hilbrunner
024fedb0f3 Kinematic -> Character 2022-10-15 17:55:24 +02:00
Max Hilbrunner
9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
Markus Sauermann
631889be34 Fix usage of NOTIFICATION_WM_CLOSE_REQUEST
Propagation now works differently.
Also it no longer causes the application to quit.
2022-10-15 02:52:32 +02:00
Max Hilbrunner
742b2b14d3 Merge pull request #6305 from Calinou/volumetric-fog-use-for-lighting
Document using volumetric fog as a volumetric lighting solution
2022-10-14 13:55:12 +02:00
Hugo Locurcio
93aca6512f Document using volumetric fog as a volumetric lighting solution
This also adds a comparison image between traditional fog and volumetric
fog at the top of the page.
2022-10-13 22:51:01 +02:00
smix8
0c2058cb96 Add doc for NavigationLinks
Adds documentation for the new NavigationLinks with cross-ref to other relevant topics.
2022-10-13 10:39:04 +02:00
Max Hilbrunner
89bd854f66 Merge pull request #6285 from yedpodtrzitko/yed/viewport-subviewport
fix: rename `ViewportContainer` to `SubViewportContainer`
2022-10-11 21:11:34 +02:00
Max Hilbrunner
5fd76377f4 Merge pull request #6291 from progsource/richtextlabel-icon-spritesheet
Add Spritesheet support to RichTextLabel BBCode
2022-10-11 21:09:06 +02:00
Max Hilbrunner
0704adebfb Merge pull request #6298 from smix8/doc_navmesh_bake_img_4x
Add missing baked_navmesh image
2022-10-11 21:07:23 +02:00
Max Hilbrunner
7b6a06614c Merge pull request #6299 from smix8/nav_doc_index_order
Fix Navigation index order to make thematically more sense
2022-10-11 21:06:51 +02:00
smix8
4e41ed13f2 Fix Navigation index order to make thematically more sense
The original index from all the Navigation pullrequests was ordered from beginner / core topics to more sophisticated / focused / niche topics but this got mixed up due to splitting the pr's and the order the pr's were merged.
2022-10-11 18:39:10 +02:00
smix8
1c7003ddbb Add missing baked_navmesh image 2022-10-11 10:36:43 +02:00
Max Hilbrunner
1fffab8cf2 Formatting, syntax and URL fixes 2022-10-11 10:14:37 +02:00
NationalityNZ
24770fd215 Update gdscript_basics.rst (#5873)
* Update gdscript_basics.rst

Added some pragmatic advice for for-loops

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2022-10-11 09:32:13 +02:00
Jeferson 'Shin' Leite Borges
f036086dc4 Update description on the IO to use the JSON class (#6120)
* Update description on the IO to use the JSON class

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-10-11 09:24:26 +02:00
Max Hilbrunner
c86881f7fa Merge pull request #6251 from SchultzenDK/master
Add C# for 'Making main screen plugins'
2022-10-11 08:10:50 +02:00
Max Hilbrunner
0f77b03a42 Merge pull request #6276 from HolonProduction/master
Add explanation of lambdas to GDScript basics.
2022-10-11 08:08:32 +02:00
Max Hilbrunner
505fd7dfc1 Merge pull request #6280 from HolonProduction/patch-1
Improve description of `range` function.
2022-10-11 08:06:33 +02:00
TheYellowArchitect
5542bf980f [Resources] Update example to be compatible with 4.0 (#6279)
* [Resources] Update example to be compatible with 4.0

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2022-10-11 08:05:24 +02:00
Max Hilbrunner
b196bcb40b Merge pull request #6159 from dotlogix/Features/ComputeShader_Tutorial
Adding example code for compute shaders
2022-10-11 07:37:26 +02:00
smix8
60cf1951af Add doc for NavigationRegions
Adds documentation for NavigationRegions and NavigationServer API use.
2022-10-11 06:21:30 +02:00
smix8
d373dd8784 Add doc for direct NavigationServer path queries
Adds documentation how to use a navigation path that is obtained by the NavigationServer API directly without the help of NavigationAgent nodes.
2022-10-11 06:16:31 +02:00
smix8
bb5424a665 Add doc for NavigationLayers and area access
Adds documentation for NavigationLayers and how to use the bitmask for gameplay features like area access.
2022-10-11 06:11:33 +02:00
smix8
0691cba9cb Add doc for NavigationMesh connections and NavigationDebug
Adds documentation how to merge and / or connect different navigationmeshes and how to use the available navigation debug functions.
2022-10-11 06:07:37 +02:00
smix8
594911cf33 Add doc for NavigationServer, NavigationAgent and RVO agent avoidance
Adds documentation for NavigationServer with focus on topics not explained in the class documentation.
Adds documentation for NavigationAgent node use and caveats.
Adds documentation for RVO agent avoidance.
2022-10-11 05:49:08 +02:00
smix8
cfc023737d Add doc for 2D & 3D navigationmesh generation
Adds documentation how to create navigationmesh / navpolygons for 2D and 3D both with editor tools as well with scripts + some technical background stuff.
2022-10-11 05:44:10 +02:00
smix8
203c912b9a Add doc for NavigationObstacle nodes and NavigationServerAPI use for obstacle agents
Document NavigationObstacles nodes and NavigationServer API use for obstacle agents.
2022-10-11 05:35:10 +02:00
Yash Punia
71bbed009f Fixed 2 'Introduction' in Navigation tutorial (#6269)
* Fixed 2 'Introduction' in Navigation tutorail

* removed intro para from main navigation and reverted to original location
2022-10-11 05:09:16 +02:00
Max Hilbrunner
a807708bf8 Revert "Document recording with transparency in Creating movies" (#6294) 2022-10-11 02:10:49 +02:00
Petra Baranski
3811e23373 Add Spritesheet support to RichTextLabel BBCode 2022-10-10 18:10:24 +02:00
Jiri Suchan
3370ef2ef9 fix: rename ViewportContainer to SubViewportContainer 2022-10-09 20:07:25 +09:00
Hugo Locurcio
0d6af3011e Document recording with transparency in Creating movies
- Add more FFmpeg tips such as `-preset veryslow`.
- Fix `-r` usage in FFmpeg commands.
- Remove leftover `-preset veryfast` (it wasn't meant to be here).
2022-10-09 00:42:01 +02:00
HolonProduction
bd27c031a8 Add explanation of lambdas to GDScript basics.
Some examples and wordings were copied from the original proposal godotengine/godot-proposals#2431.

This also contains notion of one line functions.
2022-10-08 08:58:50 +02:00
HolonProduction
b0001380c0 Improve description of range function.
Fixes #5763

The description from before did not take negative `s` into account.
2022-10-07 23:30:45 +02:00
TheYellowArchitect
6c566613a8 [Instancing with signals] Updated to 4.0 (#6268)
* [Instancing with signals] Updated to 4.0

Basically started with changing `instance()` to `instantiate()`

Was a good chance to also upgrade the badly named `b` variables into proper intuitive names.

It's a good tutorial, short and to the point, though kinda abstract so I don't think there is anything more to add (if I put an image above the final codeblock, on how to add a signal via UI, it would ruin the abstraction imo)

* Made the signal location a bit more obvious

* Updated signal emission to 4.0 syntax

Interesting that emit_signal did work, backwards compatibility ftw!
`emit_signal()` its less intuitive as you must know a "magical function" of Godot instead of using the obvious variable, and also takes string argument lmao
2022-10-07 16:08:35 +02:00
Max Hilbrunner
4563c48a82 Merge pull request #6045 from smix8/doc_navigation_maps_and_actors_4.x
Add navigation doc for maps, different actor types, and actor locomotion
2022-10-07 14:24:38 +02:00
Max Hilbrunner
e6972bedec Merge pull request #6262 from Calinou/scene-tree-fix-autoloads-link
Fix link to AutoLoads documentation in Using SceneTree
2022-10-07 14:23:56 +02:00
smix8
0babdc92d1 Add doc for navigation maps, different actor types, and actor locomotion
Adds documentation for navigation maps and how to support actors of different types (e.g. size) and with different locomotion states (e.g. crawling).
2022-10-05 23:37:39 +02:00
Jiri Suchan
991b576e70 fix: invalid references in viewports file 2022-10-06 00:04:21 +07:00
Hugo Locurcio
f13651cf96 Fix link to AutoLoads documentation in Using SceneTree 2022-10-05 18:31:11 +02:00
Max Hilbrunner
219705563e Merge pull request #6169 from skyace65/NavigationRework
Improve navigation section pages
2022-10-05 13:16:42 +02:00
takkun324
5401294067 Clearification of what an action actually is. (#6200)
* Clearification of what an action actually is.

There was no definition of an action itself. I also simplified the sentence, "An InputEvent may or may not represent a predefined action" to say that actions are not required but useful (combining with the next sentence).

Without the definition, I had thought actions were pre-defined input *conditions* (input states, rather than the input itself, since an action must have it's input defined). That mess of inquiry can be read here: https://www.reddit.com/r/godot/comments/xfvmg8/can_we_define_our_own_inputanalysis_for_inputmap/ Skip to first part of my last post to see the wording that corrected my understanding of what actions were.

This is my first-ever proposal. Thank you for the opportunity to contribute to the docs and help everyone understand things a little easier.
-- Kevin
2022-10-05 13:11:48 +02:00
Kirrby
9d9d4b821c Updating change_scene and change_scene_to (#6175)
* Updating change_scene and chnage_scene_to

solves #6156
2022-10-05 12:57:40 +02:00
Max Hilbrunner
46092b0847 Merge pull request #6183 from addmix/patch-1
Added node initialization best practices
2022-10-05 12:43:39 +02:00
yed podtrzitko
f4573fd49e fix: replace invalid World references with World3D/ World2D (#6256)
* fix: replace World references with World2D / World3D
2022-10-05 12:38:34 +02:00
Max Hilbrunner
664723bf4e Merge pull request #6206 from Structed/patch-1
Replace call to non-existent function get_editor_main_control()
2022-10-04 15:47:30 +02:00
yed podtrzitko
c6406c876a External Editor: add info about debugger setting option (#6253)
* External Editor: add info about debugger setting option

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-10-04 13:11:09 +02:00
Martin Schultz
379250ba7e Add C# for 'Making main screen plugins' 2022-10-01 21:47:52 +02:00
Max Hilbrunner
46a907f445 Merge pull request #6223 from DeltaNeverUsed/patch-1
Changed set_shader_param to set_shader_parameter
2022-10-01 17:10:38 +02:00