Commit Graph

2356 Commits

Author SHA1 Message Date
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
Max Hilbrunner
9a225d2a97 Merge pull request #6239 from TheYellowArchitect/patch-7
[2D Light and Shadows Tutorial] Replaced Light2D with PointLight2D
2022-10-01 17:02:22 +02:00
clayjohn
39e0f7cf15 Clean up canvas item shader reference and add new light shader built ins 2022-09-28 12:27:33 -07:00
TheYellowArchitect
db84cc7068 [2D Light and Shadows Tutorial] Replaced Light2D with PointLight2D
It is impossible to instantiate a Light2D node, and a DirectionalLight2D node has no texture (so this tutorial doesn't work with it at all)

Feel free to deny this commit, because I am a newbie and don't know if it was possible to instantiate a Light2D node in 3.x either (if it was possible, the tutorial should stay as is, and this pull request should be closed)
2022-09-28 09:05:59 +00:00
Hugo Locurcio
8b330feb43 Update the 2d stretch mode name to canvas_items 2022-09-27 17:18:16 +02:00
DeltaNeverUsed
00b12f5daf Changed set_shader_param to set_shader_parameter 2022-09-27 09:23:02 +02:00
nerdbeard
f5b3a2fab2 Update example code for Godot 4 in Using RigidBody (#6215) 2022-09-23 17:27:49 +02:00
Alexander Schill
245544f7ae Adding example code for compute shaders in the tutorials section 2022-09-23 15:03:12 +02:00
clayjohn
2e82ffca88 Small fixes for occlusion culling doc 2022-09-22 14:38:12 -07:00
Max Hilbrunner
c9d41855e2 Merge pull request #6211 from Evanaellio/fix-tool-annotation
Fix references to the @tool annotation
2022-09-22 17:24:35 +02:00
Matthew
fc8fd782dd Merge pull request #6203 from Evanaellio/swap-resourcesaver-save-arguments
Swap arguments of ResourceSaver.save()
2022-09-21 19:13:16 -04:00
Evanaellio
3cb674285e Fix references to the @tool annotation 2022-09-21 22:48:04 +02:00
Evanaellio
bc35550dc5 Swap arguments of ResourceSaver.save() 2022-09-21 22:30:25 +02:00
Johannes Ebner
0269514bfb Replace call to non-existent function get_editor_main_control()
get_editor_interface().get_editor_main_control() no longer exists. `get_editor_main_control()` has been replaced with `get_editor_main_screen()`.

I changed all the occurrences in code, as well as adapted the text  describing this accordingly.
2022-09-20 23:05:26 +02:00
Max Hilbrunner
d43d2b2ec7 Merge pull request #6198 from bruvzg/rcs-docs
Update macOS export page to reflect rcodesign support.
2022-09-20 21:22:15 +02:00
Max Hilbrunner
ef5bf53829 Merge pull request #6186 from Calinou/improve-fixing-jitter-stutter
Improve Fixing jitter and stutter documentation
2022-09-20 21:21:48 +02:00
Hugo Locurcio
b7fa95ea87 Improve Fixing jitter and stutter documentation
- Add section on input lag, containing project and hardware/OS
  configuration recommendations.
- Remove outdated advice about graphics drivers on Linux.
- Mention that compositing can sometimes be disabled on Linux for
  better performance.
- Wrap to 80 characters.
2022-09-20 15:26:26 +02:00
Matthew
8cd8564ba3 Merge pull request #6135 from bfedie518/patch-1
update "Apply Reset" option location
2022-09-19 22:24:14 -04:00
bruvzg
46e6b271f7 Update macOS export page to reflect rcodesign support. 2022-09-19 15:53:26 +03:00
Brandon
3580038439 update "Apply Reset" option location
Under USING RESET tracks, it said the "Apply Reset" option was in the "Animation" dropdown menu.  It's actually located in the "Edit" dropdown menu.
2022-09-19 05:15:00 -05:00
Hugo Locurcio
5c1800db66 Improve the 3D text documentation
- Describe Label3D and TextMesh in more detail.
- Add a section on projected Control node, which is a worthwhile
  alternative in many cases.
- Add a summary that gives some recommendations on which method to use.
2022-09-16 20:46:36 +02:00
skyace65
bcb4ee80ba Improve navigation section pages
Co-authored-by: smix8 <52464204+smix8@users.noreply.github.com>
2022-09-16 09:13:47 -04:00