Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Fabio Alessandrelli 4ed1d977fc [OS] Add ThreadWorkPool default size to OS.
Some platforms (*cough* web *cough*) have hard limits on the number of
threads that can be spawned.

Currently, ThreadPoolWork (mostly used in rendering/physics servers)
will spawn as many threads as CPUs available causing exception on
machines with high CPU count.

This commit adds a new overridable method to OS that returns the default
thread pool size (still the CPU count by default), and overrides it for
the JavaScript platform so it always allocate only one thread.

We can likely improve the whole ThreadPoolWork in the future to always
allocate X amount of threads, and assign jobs to them on the fly, but
that will require some more architectural changes.
2021-11-02 04:16:00 +01:00
.github CI: Update to clang-format 13 using LLVM repo 2021-10-28 17:11:00 +02:00
core [OS] Add ThreadWorkPool default size to OS. 2021-11-02 04:16:00 +01:00
doc Merge pull request #54438 from Laelaps9/patch-1 2021-11-02 02:01:27 +01:00
drivers Merge pull request #54404 from ibrahn/pulsedriver-less-cowref 2021-11-01 17:55:43 +01:00
editor Merge pull request #54387 from Calinou/editor-translations-increase-zlib-compression-level 2021-11-01 23:22:55 +01:00
main Fix new projects always being created with OpenGL 2021-11-01 22:04:36 +01:00
misc Merge pull request #54179 from aaronfranke/make-rst 2021-10-26 08:43:07 +02:00
modules Merge pull request #54490 from q66/ppc 2021-11-01 23:27:21 +01:00
platform [OS] Add ThreadWorkPool default size to OS. 2021-11-02 04:16:00 +01:00
scene Merge pull request #54391 from DavidSichma/doc_interpolate_value 2021-11-01 22:38:42 +01:00
servers Merge pull request #37880 from nekomatata/rigid-body-damping-override 2021-11-01 11:24:01 -07:00
tests Modify Dictionary::operator== to do real key/value comparison with recursive support (and add unittests) 2021-10-30 13:11:01 +02:00
thirdparty Add GLES2 2D renderer + Linux display manager 2021-10-30 02:05:48 +02:00
.clang-format clang-format: Enable BreakBeforeTernaryOperators 2021-10-28 15:57:41 +02:00
.clang-tidy Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
.editorconfig Add a simple C# .editorconfig 2021-07-23 17:04:53 -04:00
.gitattributes Upgrade Android Gradle to version 7.2 2021-10-14 16:19:00 +01:00
.gitignore Main: Fixup --dump-extension-api after #54017 2021-10-21 09:43:39 +02:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2021-10-11 11:59:11 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2021-10-11 11:59:11 +02:00
CHANGELOG.md Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
CONTRIBUTING.md Link to Godot Contributors Chat instead of IRC 2021-03-05 22:32:48 +01:00
COPYRIGHT.txt Remove WebM support (and deps libvpx and opus) 2021-10-15 12:09:11 +02:00
DONORS.md Update AUTHORS and DONORS list 2021-10-11 11:59:11 +02:00
gles3_builders.py Use OpenGL 3.3 core profile instead of compatibility profile 2021-10-31 15:56:45 +01:00
glsl_builders.py RenderingServer reorganization 2020-12-04 18:39:46 -03:00
icon_outlined.png Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
icon_outlined.svg Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
icon.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
LICENSE.txt Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
LOGO_LICENSE.md Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-03 14:30:06 +01:00
logo_outlined.png Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
logo_outlined.svg Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
logo.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
methods.py Fix import for collections Mapping 2021-10-25 00:20:28 +03:00
platform_methods.py Merge python EnvironmentError, IOError and WindowsError into OSError. 2020-09-02 15:58:07 +01:00
README.md Merge pull request #44359 from Riteo/logo-outline 2021-05-09 14:01:05 +02:00
SConstruct Use OpenGL 3.3 core profile instead of compatibility profile 2021-10-31 15:56:45 +01:00
version.py Update copyright statements to 2021 2021-01-01 20:19:21 +01:00

Godot Engine

Godot Engine logo

2D and 3D cross-platform game engine

Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported in one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as well as Web-based platforms (HTML5) and consoles.

Free, open source and community-driven

Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Software Freedom Conservancy not-for-profit.

Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur (both still maintaining the project) for several years as an in-house engine, used to publish several work-for-hire titles.

Screenshot of a 3D scene in Godot Engine

Getting the engine

Binary downloads

Official binaries for the Godot editor and the export templates can be found on the homepage.

Compiling from source

See the official docs for compilation instructions for every supported platform.

Community and contributing

Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.

To get in touch with the engine developers, the best way is to join the Godot Contributors Chat.

To get started contributing to the project, see the contributing guide.

Documentation and demos

The official documentation is hosted on ReadTheDocs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from the Godot editor.

The official demos are maintained in their own GitHub repository as well.

There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more information.

Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs