68 Commits

Author SHA1 Message Date
tetrapod00
faac424508 Add links to project setting mentions 2024-12-03 08:12:11 +01:00
Yevhen Babiichuk (DustDFG)
250aefc23f Delete mention of OpenGL ES 2 2024-11-30 07:52:16 +01:00
Hugo Locurcio
3444010324 Fix sprite position in code sample in Optimization using servers 2024-10-04 03:51:31 +02:00
Jade
1379cdd990 Add Arm Performance Tools to suggested performance tools list. 2024-10-04 03:46:48 +02:00
Shawn Hardern
50cb22fd09 Add C# examples to CPU optimization
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-04 03:42:01 +02:00
Kongfa Waroros
050c9b94a9 Update certain example code snippets to use the new syntax 2024-10-04 03:41:25 +02:00
aGuyWhoMadeGames
e80dbb09fb Fix typo in "Optimizing 3D performance" 2024-06-18 15:16:12 -05:00
谢天
c6abcbae94 Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads (#8749)
* Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-24 11:25:36 +01:00
Hugo Locurcio
95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
VercingetorixChief
6fe8390710 Update OS to Time on pages containing OS.get_ticks_usec() 2023-12-26 14:03:45 -07:00
Hugo Locurcio
f9817954c7 Remove unused images
This reduces the size of ZIP downloads for offline reading.

Unused images were found by running `_tools/list-unused-images.sh`.
These images were used in Godot 2.x and 3.x documentation,
but have been replaced by remade images with different names since.
2023-11-13 21:57:19 +01:00
todeskurve
c9cafeab59 Added some C#-snippets to tutorials/using_servers.rst (#8241)
* Update using_servers.rst Added C# for 3D-Mesh

with limited C# knowledge there is a problem when not using "Basis.Identity" but trying to use "new Basis()" instead of GDScript's "Basis()"

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-10-17 23:08:42 +02:00
skyace65
1ae0eff971 Fix Build issue 2023-10-02 21:19:42 -04:00
imnachos
706393d285 Fixed URL underscore in general_optimization.rst
Added double underscore to fix
2023-09-17 13:21:48 +02:00
Max Hilbrunner
005213b3c6 Merge pull request #7278 from Calinou/gdscript-debugger-mention-thread-support 2023-07-27 01:03:08 +02:00
Max Hilbrunner
073725b4fc Merge pull request #7647 from Calinou/update-performance 2023-07-18 15:37:30 +02:00
Max Hilbrunner
cd5eec3f7a Merge pull request #7599 from OverloadedOrama/patch-1 2023-07-18 13:41:52 +02:00
Hugo Locurcio
df9bf74ca1 Update performance optimization pages for Godot 4.x 2023-07-12 00:43:12 +02:00
Emmanouil Papadeas
6a2cb1b688 Update multi-threaded rendering setting path
Changes from "Rendering > Threads > Thread Model", which used to be the old path for Godot 3.x, to "Rendering > Driver > Thread Model", which is the current one for Godot 4.x.
2023-07-02 17:21:51 +03:00
Hugo Locurcio
b3607959be Link to Using C++ profilers page in CPU optimization
This page was created after CPU optimization, so it wasn't linked beforehand.
2023-07-01 20:30:38 +02:00
bitsawer
43f94066b8 Update threading code examples to use new syntax 2023-06-07 21:59:03 +03:00
Lunarmagpie
760cb085d1 Update cpu_optimization.rst 2023-05-14 23:54:03 -04:00
Hugo Locurcio
b9268e8ee4 Remove outdated notices about GDScript debugger not supporting threads
This is now supported in Godot.
2023-05-04 12:57:05 +02:00
Jcrespo
6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
Max Hilbrunner
64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
Mateus Elias
2aa7d47821 fix(tutorials/performance/using_multimesh.rst): removed out of date code 2023-04-08 10:07:33 -03:00
Hugo Locurcio
f658307ac7 Add a page on creating custom platform ports 2023-03-13 18:53:38 +01:00
Hugo Locurcio
9286f1b466 Remove references to removed GLES2 backend
- Update FAQ to remove issues resolved in 4.0, and add more advice
  on resolving VRR flicker issues.
2023-03-11 02:55:30 +01:00
Hugo Locurcio
3dfbfbf381 Add links to demo projects where relevant (#6874)
* Add links to demo projects where relevant

- Warn about poor compute shader support on mobile GPUs (due to driver bugs).
- Update control gallery image for 4.0.
- Fix typo in Internationalizing games.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-09 06:09:56 +01:00
Max Hilbrunner
1b0310aa47 Fix typos and make CI a happy Gobot 2023-03-09 05:55:58 +01:00
Hugo Locurcio
c799afdfa2 Update Importing 3D scenes documentation for Godot 4.0 (#6800)
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2023-03-04 23:00:30 +01:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Hugo Locurcio
8b0c550e2a Add a page on variable rate shading (VRS) 2023-02-22 18:14:42 +01:00
Raul Santos
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
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
J.M. de Jong
2147f64d08 Update particle shader format in Controlling thousands of fish (#6604) 2023-01-17 02:30:02 +01:00
AeioMuch
32d9970205 Update get_world() to get_world_3d() in using_servers.rst (#6449)
get_world() with get_world_3d() on the using servers page
2023-01-14 11:05:04 -05:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Sheep
82c49b952f fixed a typo in cpu optimizations (#6566) 2023-01-07 11:38:14 -08:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
3765e1ca51 Nuke GDNative from docs 2022-10-15 23:53:50 +02:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
b82cd0690d A bunch of renames for Godot 4.0 2022-10-15 18:19:12 +02:00
Max Hilbrunner
9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +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
Matthew
fb921874e4 Add a page on managing editor features (#5489)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-04-29 12:51:37 +02:00
Markus Sauermann
aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Markus Sauermann
1e6a033a8f Update tutorials: VisualServer to RenderingServer 2022-02-09 20:20:13 +01:00