Commit Graph

9379 Commits

Author SHA1 Message Date
Quinn
4ba3e374cd Replace mentions of Reference with RefCounted 2024-11-30 07:54:40 +01:00
ntlblpm
43ef9a70ac Update saving_games.rst 2024-11-30 07:54:32 +01:00
Hugo Locurcio
83d7bb5056 Fix outdated reference to godot.tools.html in Compiling for the Web
It's `godot.editor.html` since Godot 4.0.
2024-11-30 07:54:24 +01:00
Hugo Locurcio
dc9254582a Remove instructions on setting up Pyston for faster development
This is done for several reasons:

- Recent CPython versions such as 3.13 have mostly caught up
  with Pyston in terms of performance. If the trend continues,
  CPython may supersede Pyston's performance in the long term.
  This is especially the case if the experimental JIT is
  eventually able to run Godot's SCons setup.
- Pyston is not maintained anymore (its last release was in 2022),
  and the last Python version it can run is 3.8. Python 3.8 is now
  end-of-life. Godot's SCons setup (as well as SCons itself) will
  eventually require Python versions newer than 3.8.
2024-11-30 07:54:17 +01:00
RB35
68eb940c28 Update C# Rider install steps for now built-in plugin "Godot Support" (#10323)
* Plugin now bundled with rider so can't be installed

As of Rider 2024.2 the plugin is bundled with the software and can't be installed which can be confusing.
https://plugins.jetbrains.com/plugin/13882-godot-support

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:54:09 +01:00
Danila Zolotarev
4302a98081 Fix wording of OpenGL ES support on desktop in Internal rendering architecture (#9945) 2024-11-30 07:53:55 +01:00
Hugo Locurcio
c66f811460 Document generate_bundle=yes SCons option in Compiling for macOS and iOS
- Reorder instructions to mention ARM64 builds first in macOS,
  as this is the primary architecture in use now (with all new Macs
  since 2023 being sold with Apple Silicon only). The `lipo` command still
  works as before, as it infers the architecture from the input files.
- Remove the manual bundle generation steps to make the page shorter
  (similar to Compiling for Android).
- Remove references to the master branch (this was only relevant when
  4.0 was still in development).
2024-11-30 07:53:20 +01:00
Anish Mishra
ccf9538a6e update groups image in saving_games tutorial 2024-11-30 07:53:07 +01:00
tetrapod00
627bd0e6de Remove wiki reference in Introduction to 3D 2024-11-30 07:52:58 +01:00
Tyson Nottingham
54dd8c12a8 Use Stretch Ratio instead of prior Ratio terminology 2024-11-30 07:52:50 +01:00
tetrapod00
13a47e3b00 Remove link to Reddit list of tutorials 2024-11-30 07:52:44 +01:00
Hugo Locurcio
7b0674e73a Document focus StyleBox caveats in Introduction to GUI skinning 2024-11-30 07:52:36 +01:00
Hugo Locurcio
d9964f7b18 Mention documentation comments in GDScript basics 2024-11-30 07:52:25 +01:00
Yevhen Babiichuk (DustDFG)
250aefc23f Delete mention of OpenGL ES 2 2024-11-30 07:52:16 +01:00
mechalynx
d560aac2cc Update PackedArray explanation to match Godot 4.0 behavior (#10304)
Add paragraphs describing the differences between PackedArray and
normal or typed Array.

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:52:03 +01:00
tetrapod00
ce1be2c6e5 Add GDScript naming convention summary table
Co-Authored-By: Edwin <60202421+emarino135@users.noreply.github.com>
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-30 07:50:54 +01:00
Kushal K S
032be9e338 Clarify Area2D warning behavior (#10173)
* Clarify Area2D warning behavior

* Apply suggestions from code review

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:50:42 +01:00
tetrapod00
3eb1469ed0 Add FAQ entry "Which programming language is fastest?"
Compares the performance of C#, GDScript, and C++.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: Andre Sacilotto <66838864+andresacilotto@users.noreply.github.com>
2024-11-30 07:50:30 +01:00
Jonathan Sekela
d1042305d6 Add dev_build and dev_mode flags to scons compilation instructions for desktop editor pages 2024-11-30 07:50:08 +01:00
tetrapod00
4f1c98685d Remove performance comparison from C# Basics 2024-11-30 07:49:54 +01:00
tetrapod00
eb2a0a003c Fix wrong editor setting in Overview of Debugging Tools 2024-11-30 07:49:41 +01:00
Mark Wilson
8b1a1b644c Improved style for cross-language examples.
* Replaced "foo"/"bar" example values with "my value".
* Changed C# public field to property and GDScript to match.
* Used PascalCase for C# property.
* Used camelCase for C# local variable.
* Used "var" for C# local variable declarations.
* Used PascalCase for GDScript class/script variable.
* Improved clarity of comments documenting expected output.
* Eliminated horizontal scroll in C# code example.
* Fixed a comma splice in the page text.
* Removed an out-of-date warning block.
2024-11-30 07:49:31 +01:00
Hugo Locurcio
e163152e03 Document rand_weighted() in Random number generation (#10283)
* Document `rand_weighted()` in Random number generation

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-11-30 07:49:10 +01:00
ntlblpm
fec6259365 Update matrices_and_transforms.rst 2024-11-30 07:48:55 +01:00
ntlblpm
3c0106b92d Update vectors_advanced.rst 2024-11-30 07:48:47 +01:00
Matthew
bb8c89f04c Update android export page for AAB requirement (#9637)
* Update android export page for AAB requirement

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-11-30 07:48:36 +01:00
Zach Coleman
32705a4f9d Update handling_quit_requests.rst 2024-11-30 07:48:24 +01:00
Furkan Calik
d94727fbe5 Update using_transforms.rst to clarify rotate_local() axis usage 2024-11-30 07:48:07 +01:00
Hana - Piralein
70f703a6c8 Update Sphinx version 2024-11-30 07:22:21 +01:00
Max Hilbrunner
b2b3ea580a C# exports: Fix semicolon syntax error
Co-authored-by: Loregret <31369647+Loregret@users.noreply.github.com>
2024-11-30 07:17:35 +01:00
Hugo Locurcio
73e706cab7 Document exporting as progressive web app in Exporting for the web
- Document no-threads web export and its limitations.
- Document sample-based audio playback and its limitations.
- Mention that threading issues can be worked around by exporting
  as a progressive web app.
2024-11-30 07:16:31 +01:00
Hugo Locurcio
39bb9f4b54 Update Random number generation for Godot 4.2+ (#9822)
- Document `Array.pick_random()` as a shorthand.
- Use global scope random methods as they are all available in global scope now.
- Remove calls to `randomize()` that are not needed for code samples
  to be functional, as the engine now calls `randomize()` on startup
  once automatically.
2024-11-30 07:15:57 +01:00
tetrapod00
70969b116d Add custom codespell dictionary 2024-11-30 07:15:29 +01:00
Hugo Locurcio
d9f223aa14 Document @export_custom and additional range hints in GDScript exports
This also adds a hint suffix example to C# exports.

Co-authored-by: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com>
2024-11-30 07:15:17 +01:00
Nikita
5b73d7034c Fix typo in Using signals (#10246)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-30 07:14:49 +01:00
tetrapod00
57fb2ff093 Remove unneeded C# comment from First 2D Game 2024-11-30 07:14:38 +01:00
Mikael
1ff691d90f Update "Size and anchors" to reflect Godot 4.3 terminology (#10216)
Changed relevant occurences of margin with "anchor offset" or "offset".

Also reworded paragraph about aspect ratios, as it included information that may not necessarily be correct.

Also replaced images with newer versions.
2024-11-30 07:14:18 +01:00
tetrapod00
d651092a27 Update list of debugging settings 2024-11-30 07:13:43 +01:00
tetrapod00
302aa47496 Improve Bug triage guidelines 2024-11-30 07:13:29 +01:00
tetrapod00
21bd5e0b2b Fix codespell not running on some files 2024-11-30 07:13:18 +01:00
tetrapod00
e336118dc9 Improve GDScript format strings tutorial
Remove usages of "integral".
Add section on string concatenation.
Improve organization.
Fix incorrect examples.
2024-11-30 07:13:09 +01:00
Max Hilbrunner
097c7ecbcc Remove canonical/hreflang tags, let RTD I18N do it 2024-11-30 07:13:00 +01:00
Max Hilbrunner
b40f92eba9 CI: Skip class ref. sync and offline docs on forks 2024-11-30 07:12:51 +01:00
Kleidon
ea02eb44b5 Fix "or_greater"/"or_less" code example
The code example demonstrating the usage of the "or_greater" and "or_less" hints for the export_range annotation does not declare a variable after the annotation, which is inconsistent with the previous three code examples in the section.
Also, giving the export_range a step of 1 does not create a slider for the property in the editor, like the text suggests, but it instead creates a spin box. The step should be changed to a float so the property can appear as a slider.
2024-11-30 07:12:08 +01:00
Hugo Locurcio
f6b7d835b8 Fix link to Windows platform port in Custom platform ports
- Fix link to Linux Vulkan context code.
- Add references to Direct3D 12.
2024-11-30 07:11:47 +01:00
Nate Moore
12efc92730 Add spring arm third-person camera tutorial (#10156)
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:11:32 +01:00
Hilderin
d8039bd436 Fix code sample for add_autoload_singleton in plugin
- Add documentation for issue https://github.com/godotengine/godot/issues/68285
2024-11-30 07:10:39 +01:00
tetrapod
ffff2e7afd Link to Getting Started Input tutorial from Input examples page (#10200)
* Link to Getting Started Input tutorial from Input examples page

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-30 07:10:21 +01:00
Flarkk
203c5d7b3e Clarify when fragcoord z is used as depth output 2024-11-30 07:10:05 +01:00
tetrapod
0f3b28f4d9 Update Editor icons page to reflect usage of svgo (#10195)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-30 07:09:46 +01:00