Skip to content

Commit

Permalink
Merge pull request #10038 from mhilbrunner/4-3-cherypicks
Browse files Browse the repository at this point in the history
4.3 cherrypicks
  • Loading branch information
mhilbrunner authored Oct 4, 2024
2 parents d603e62 + 4318740 commit a4116a9
Show file tree
Hide file tree
Showing 112 changed files with 1,122 additions and 443 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Linter checks
run: |
bash _tools/format.sh
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,development,getting_started,tutorials}/**/*.rst
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,contributing,getting_started,tutorials}/**/*.rst
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
- name: Sphinx build
Expand Down
5 changes: 3 additions & 2 deletions _extensions/gdscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ def innerstring_rules(ttype):
"AABB",
"Plane",
"Quaternion",
"Vector4",
"Vector4i",
"Basis",
"Transform3D",
"Color",
Expand All @@ -355,9 +357,8 @@ def innerstring_rules(ttype):
"PackedFloat64Array",
"PackedStringArray",
"PackedVector2Array",
"PackedVector2iArray",
"PackedVector3Array",
"PackedVector3iArray",
"PackedVector4Array",
"PackedColorArray",
"null",
"void",
Expand Down
7 changes: 3 additions & 4 deletions about/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ If you've ever written anything in a language like Python before, then you'll fe
right at home. For examples and a complete overview of the power GDScript offers
you, check out the :ref:`GDScript scripting guide <doc_gdscript>`.

There are several reasons to use GDScript, especially when you are prototyping, in
alpha/beta stages of your project, or are not creating the next AAA title. The
most salient reason is the overall **reduction of complexity**.
There are several reasons to use GDScript, but the most salient reason is the overall
**reduction of complexity**.

The original intent of creating a tightly integrated, custom scripting language for
Godot was two-fold: first, it reduces the amount of time necessary to get up and running
Expand All @@ -133,7 +132,7 @@ more familiar programming languages, especially when supporting those more famil
languages would result in a worse experience. We understand if you would rather use
another language in Godot (see the list of supported options above). That being said, if
you haven't given GDScript a try, try it for **three days**. Just like Godot,
once you see how powerful it is and rapid your development becomes, we think GDScript
once you see how powerful it is and how rapid your development becomes, we think GDScript
will grow on you.

More information about getting comfortable with GDScript or dynamically typed
Expand Down
15 changes: 6 additions & 9 deletions about/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ consider checking them out. Otherwise, :ref:`Getting Started <doc_getting_starte
is a great starting point.

In case you have trouble with one of the tutorials or your project,
you can find help on the various :ref:`Community channels <doc_community_channels>`,
especially the Godot `Discord`_ community and
you can find help on the various `Community channels <https://godotengine.org/community/>`_,
especially the Godot `Discord <https://discord.gg/bdcfAYM4W9>`_ community and
`Forum <https://forum.godotengine.org/>`_.

About Godot Engine
Expand Down Expand Up @@ -75,11 +75,10 @@ This documentation is organized into several sections:
It also contains sections intended for advanced users and contributors,
with information on compiling the engine, contributing to the editor,
or developing C++ modules.
- **Community** is dedicated to the life of Godot's community.
It points to various community channels like the
`Godot Contributors Chat <https://chat.godotengine.org/>`_ and
`Discord`_ and contains a list of recommended third-party tutorials and
materials outside of this documentation.
- **Community** is dedicated to the life of Godot's community and contains a list of
recommended third-party tutorials and materials outside of this documentation.
It also provides details on the Asset Library. It also used to list Godot
communities, which are now listed on the `Godot website <https://godotengine.org/community/>`_.
- Finally, the **Class reference** documents the full Godot API,
also available directly within the engine's script editor.
You can find information on all classes, functions, signals and so on here.
Expand All @@ -104,5 +103,3 @@ with attribution to "*Juan Linietsky, Ariel Manzur, and the Godot Engine communi
unless otherwise noted.

*Have fun reading and making games with Godot Engine!*

.. _Discord: https://discord.gg/4JBkykG
23 changes: 11 additions & 12 deletions about/system_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ Mobile device (smartphone/tablet) - Minimum
| | Exporting projects requires downloading export templates separately |
| | (1.3 GB after installation). |
+----------------------+-----------------------------------------------------------------------------------------+
| **Operating system** | - **Native editor:** Android 6.0 (Compatibility) or Android 9.0 (Forward+/Mobile), |
| | iOS 11.0 |
| **Operating system** | - **Native editor:** Android 6.0 (Compatibility) or Android 9.0 (Forward+/Mobile) |
| | - **Web editor:** Firefox 79, Chrome 88, Edge 79, Safari 15.2, Opera 64, |
| | Samsung Internet 15 |
+----------------------+-----------------------------------------------------------------------------------------+
Expand Down Expand Up @@ -174,7 +173,7 @@ Mobile device (smartphone/tablet) - Recommended
+----------------------+-----------------------------------------------------------------------------------------+
| **Storage** | 1.5 GB (used for the executable, project files, all export templates and cache) |
+----------------------+-----------------------------------------------------------------------------------------+
| **Operating system** | - **Native editor:** Android 9.0 or iOS 11.0 |
| **Operating system** | - **Native editor:** Android 9.0 |
| | - **Web editor:** Latest version of Firefox, Chrome, Edge, Safari, Opera, |
| | Samsung Internet |
+----------------------+-----------------------------------------------------------------------------------------+
Expand Down Expand Up @@ -268,23 +267,23 @@ Mobile device (smartphone/tablet) - Minimum
+----------------------+-----------------------------------------------------------------------------------------+
| **GPU** | - **Forward+ rendering method:** SoC featuring GPU with full Vulkan 1.0 support |
| | |
| | - *Example: Qualcomm Adreno 505, Mali-G71 MP2, PowerVR G6430 (iPhone 6S/iPhone SE 1)* |
| | - *Example: Qualcomm Adreno 505, Mali-G71 MP2, Apple A12 (iPhone XR/XS)* |
| | |
| | - **Mobile rendering method:** SoC featuring GPU with full Vulkan 1.0 support |
| | |
| | - *Example: Qualcomm Adreno 505, Mali-G71 MP2, PowerVR G6430 (iPhone 6S/iPhone SE 1)* |
| | - *Example: Qualcomm Adreno 505, Mali-G71 MP2, Apple A12 (iPhone XR/XS)* |
| | |
| | - **Compatibility rendering method:** SoC featuring GPU with full OpenGL ES 3.0 support |
| | |
| | - *Example: Qualcomm Adreno 306, Mali-T628 MP6, PowerVR G6430 (iPhone 5S)* |
| | - *Example: Qualcomm Adreno 306, Mali-T628 MP6, Apple A7 (iPhone 5S)* |
+----------------------+-----------------------------------------------------------------------------------------+
| **RAM** | - **For native exports:** 1 GB |
| | - **For web exports:** 2 GB |
+----------------------+-----------------------------------------------------------------------------------------+
| **Storage** | 150 MB (used for the executable, project files and cache) |
+----------------------+-----------------------------------------------------------------------------------------+
| **Operating system** | - **For native exports:** Android 6.0 (Compatibility) or Android 9.0 (Forward+/Mobile), |
| | iOS 11.0 |
| | iOS 12.0 |
| | - **For web exports:** Firefox 79, Chrome 88, Edge 79, Safari 15.2, Opera 64, |
| | Samsung Internet 15 |
+----------------------+-----------------------------------------------------------------------------------------+
Expand Down Expand Up @@ -340,26 +339,26 @@ Mobile device (smartphone/tablet) - Recommended
| | |
| | - **iOS:** SoC with 64-bit ARM CPU |
| | |
| | - *Example: Apple A11 (iPhone XS/XR)* |
| | - *Example: Apple A14 (iPhone 12)* |
+----------------------+-----------------------------------------------------------------------------------------+
| **GPU** | - **Forward+ rendering method:** SoC featuring GPU with full Vulkan 1.2 support |
| | |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple G11P (iPhone XR/XS)* |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple A14 (iPhone 12)* |
| | |
| | - **Mobile rendering method:** SoC featuring GPU with full Vulkan 1.2 support |
| | |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple G11P (iPhone XR/XS)* |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple A14 (iPhone 12)* |
| | |
| | - **Compatibility rendering method:** SoC featuring GPU with full OpenGL ES 3.2 support |
| | |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple G11P (iPhone XR/XS)* |
| | - *Example: Qualcomm Adreno 630, Mali-G72 MP18, Apple A14 (iPhone 12)* |
+----------------------+-----------------------------------------------------------------------------------------+
| **RAM** | - **For native exports:** 2 GB |
| | - **For web exports:** 4 GB |
+----------------------+-----------------------------------------------------------------------------------------+
| **Storage** | 150 MB (used for the executable, project files and cache) |
+----------------------+-----------------------------------------------------------------------------------------+
| **Operating system** | - **For native exports:** Android 9.0 or iOS 11.0 |
| **Operating system** | - **For native exports:** Android 9.0 or iOS 14.1 |
| | - **For web exports:** Latest version of Firefox, Chrome, Edge, Safari, Opera, |
| | Samsung Internet |
+----------------------+-----------------------------------------------------------------------------------------+
Expand Down
38 changes: 2 additions & 36 deletions community/channels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,8 @@ Community channels

So, where is the Godot community and where can you ask questions and get help?

Note that some of these channels are run and moderated by members of the Godot community or third parties.

A brief overview over these and other channels is also available on the `Godot website <https://godotengine.org/community>`_.

Forums
------

- `Official Godot Forum <https://forum.godotengine.org/>`_
- `Community Forum <https://godotforums.org/>`_

Chats
-----

- `Godot Contributors Chat <https://chat.godotengine.org/>`_
- `Discord <https://discord.gg/4JBkykG>`_
- `Matrix (IRC compatible) <https://matrix.to/#/#godotengine:matrix.org>`_
- `IRC (#godotengine on Libera.Chat) <https://web.libera.chat/?channels=#godotengine>`_

.. note::

As of January 2021, core developer chat has moved to the Godot Contributors Chat platform listed above.
IRC is less active. Please stick around to get an answer,
as it may take several hours for someone to see and answer your questions.

Social networks and other sites
-------------------------------

- `GitHub <https://github.com/godotengine/>`_
- `Facebook group <https://www.facebook.com/groups/godotengine/>`_
- `Twitter <https://twitter.com/godotengine>`_
(see also the `#GodotEngine <https://twitter.com/hashtag/GodotEngine>`_ hashtag)
- `Reddit <https://www.reddit.com/r/godot>`_
- `YouTube <https://www.youtube.com/c/GodotEngineOfficial>`_
- `Steam <https://steamcommunity.com/app/404790>`_
- `itch.io <https://godotengine.itch.io/godot>`_
- `Links <https://links.godotengine.org>`_
This page used to list the various official and user-supported Godot communities.
That list is now available on the `Godot website <https://godotengine.org/community>`_.

Language-based communities
--------------------------
Expand Down
24 changes: 3 additions & 21 deletions community/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,13 @@ The Godot video tutorials by `GDQuest <https://www.youtube.com/channel/UCxboW7x0

GDQuest's *Learn GDScript From Zero* is a free and open source interactive tutorial for absolute beginners to learn to program with Godot's GDScript language. It is available as a `desktop application <https://gdquest.itch.io/learn-godot-gdscript>`_ or `in the browser <https://gdquest.github.io/learn-gdscript>`_.

Some tutorials mentioned below provide more advanced tutorials, e.g. on 3D or shaders.
Some tutorials mentioned below cover more advanced subjects, e.g. on 3D or shaders.

Video tutorials
---------------

- `Bastiaan Olij <https://www.youtube.com/BastiaanOlij>`_ (3D, AR and VR, GDScript)
- `BornCG <https://www.youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35>`_ (2D and 3D, GDScript)
- `Clear Code <https://www.youtube.com/watch?v=nAh_Kx5Zh5Q>`_ (2D, GDScript, Programming Basics)
- `FencerDevLog <https://www.youtube.com/@FencerDevLog>`_ (2D, 3D, GDScript, Shaders)
- `FinePointCGI <https://www.youtube.com/channel/UCSojAWUnEUTUcdA9iJ6bryQ>`_ (2D, 3D, GDScript and C#)
- `GDQuest <https://www.youtube.com/channel/UCxboW7x0jZqFdvMdCFKTMsQ/playlists>`_ (2D and 3D, GDScript and C#)
- `Game Dev Artisan <https://www.youtube.com/@GameDevArtisan>`_ (2D, GDScript)
- `Game Development Center <https://www.youtube.com/c/GameDevelopmentCenter>`_ (2D, networked multiplayer, GDScript)
- `Game Endeavor <https://www.youtube.com/channel/UCLweX1UtQjRjj7rs_0XQ2Eg/videos>`_ (2D, GDScript)
- `Gwizz <https://www.youtube.com/@Gwizz1027>`_ (2D, GDScript)
- `Godotneers <https://www.youtube.com/@godotneers>`_ (2D, Shaders, GDScript)
- `HeartBeast <https://www.youtube.com/@uheartbeast>`_ (2D, GDScript)
- `Malcolm Nixon <https://youtube.com/@MalcolmAnixon>`_ (AR and VR, GDScript)
- `Muddy Wolf <https://www.youtube.com/@MuddyWolf>`_ (2D, 3D and VR, GDSCript)
- `KidsCanCode <https://www.youtube.com/channel/UCNaPQ5uLX5iIEHUCLmfAgKg/playlists>`__ (2D and 3D, GDScript)
- `Maker Tech <https://www.youtube.com/@MakerTech/>`_ (2D, GDScript)
- `Pigdev <https://www.youtube.com/@pigdev>`_ (2D, GDScript)
- `Queble <https://www.youtube.com/@queblegamedevelopment4143>`_ (2D, GDScript)
- `Quiver <https://quiver.dev/>`_ (2D, GDScript)
- `Snopek Games <https://www.youtube.com/@SnopekGames>`_ (3D, networked multiplayer, AR and VR, GDScript)
For video tutorials we recommend looking on `YouTube <https://www.youtube.com/>`_. There's many great
channels covering a wide array of subjects.

Text tutorials
--------------
Expand Down
18 changes: 9 additions & 9 deletions contributing/development/compiling/compiling_for_ios.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ Open a Terminal, go to the root dir of the engine source code and type:

::

$ scons p=ios target=template_debug
scons platform=ios target=template_debug

for a debug build, or:

::

$ scons p=ios target=template_release
scons platform=ios target=template_release

for a release build (check ``platform/ios/detect.py`` for the compiler
flags used for each configuration).
Expand All @@ -68,8 +68,8 @@ Alternatively, you can run

::

$ scons p=ios target=template_debug ios_simulator=yes arch=x86_64
$ scons p=ios target=template_debug ios_simulator=yes arch=arm64
scons platform=ios target=template_debug ios_simulator=yes arch=x86_64
scons platform=ios target=template_debug ios_simulator=yes arch=arm64

for a Simulator libraries.

Expand All @@ -79,13 +79,13 @@ should be placed in ``libgodot.ios.debug.xcframework`` and ``libgodot.ios.releas

::

$ cp -r misc/dist/ios_xcode .
cp -r misc/dist/ios_xcode .

$ cp libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
$ lipo -create libgodot.ios.template_debug.arm64.simulator.a libgodot.ios.template_debug.x86_64.simulator.a -output ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
cp libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
lipo -create libgodot.ios.template_debug.arm64.simulator.a libgodot.ios.template_debug.x86_64.simulator.a -output ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a

$ cp libgodot.ios.template_release.arm64.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64/libgodot.a
$ lipo -create libgodot.ios.template_release.arm64.simulator.a libgodot.ios.template_release.x86_64.simulator.a -output ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a
cp libgodot.ios.template_release.arm64.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64/libgodot.a
lipo -create libgodot.ios.template_release.arm64.simulator.a libgodot.ios.template_release.x86_64.simulator.a -output ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a

The MoltenVK static ``.xcframework`` folder must also be placed in the ``ios_xcode``
folder once it has been created.
Expand Down
Loading

0 comments on commit a4116a9

Please sign in to comment.