Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Juan Linietsky c7fb6cea3d Add ability to call code on rendering thread
As more users use compute in Godot 4, the way they do is most likely incompatible when running
on separate threads and will start erroring soon as we improve the thread safety of the render thread.

To properly run code on the render thread, this function was added. Use like this:

```GDScript

func initialize_compute_code():
	....

func update_compute_code(custom_data):
	...

func _ready():
	RenderingServer.call_on_render_thread( initialize_compute_code )

func _process():
	RenderingServer.call_on_render_thread( update_compute_code.bind(with_data) )

```
2023-07-26 12:28:00 +02:00
.github Fix `doc_status.py` trying to get removed `version` tag from XML 2023-07-13 16:25:54 +02:00
core Merge pull request #75216 from rune-scape/rune-dependancy-errors 2023-07-24 19:32:20 +02:00
doc Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
drivers Merge pull request #79884 from Dragoncraft89/master 2023-07-25 21:51:38 +02:00
editor Merge pull request #79793 from trollodel/hide_make_floating_swm 2023-07-25 21:51:31 +02:00
main Don't use splash minimum display time in editor 2023-07-12 21:09:30 +02:00
misc Bump version to 4.2-dev 2023-07-05 22:07:03 +02:00
modules Merge pull request #79748 from Repiteo/dotnet-documentation-fixes 2023-07-25 21:51:28 +02:00
platform Merge pull request #79846 from Faless/web/no_body_length 2023-07-24 19:33:48 +02:00
scene Merge pull request #79879 from KoBeWi/the_tweenld 2023-07-25 21:51:35 +02:00
servers Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
tests Merge pull request #79444 from Miguel0312/TestInputEvent 2023-07-21 17:54:35 +02:00
thirdparty [ENet] Update to upstream master. 2023-07-20 12:20:14 +02:00
.clang-format
.clang-tidy
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore add venv and .venv to the .gitignore 2023-05-05 18:32:20 +02:00
.lgtm.yml
.mailmap Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
CHANGELOG.md Clarify return value of get_dependencies() 2023-07-11 13:28:34 +02:00
CONTRIBUTING.md
COPYRIGHT.txt openxr: Sync with upstream 1.0.28 2023-07-11 09:13:16 +02:00
DONORS.md Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
LICENSE.txt
LOGO_LICENSE.md
README.md
SConstruct Merge pull request #73443 from akien-mga/unbundle-openxr 2023-07-12 17:15:25 +02:00
gles3_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
glsl_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
icon.png
icon.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
icon_outlined.png
icon_outlined.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
logo.png
logo.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
logo_outlined.png
logo_outlined.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
methods.py SCons: Move platform logo/run icon to `export` folder 2023-06-20 13:16:37 +02:00
platform_methods.py SCons: Move platform logo/run icon to `export` folder 2023-06-20 13:16:37 +02:00
scu_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
version.py Bump version to 4.2-dev 2023-07-05 22:07:03 +02:00

README.md

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 with 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 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 the Godot Engine editor

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.

The best way to get in touch with the core engine developers 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 Read the Docs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from the Godot editor.

We also maintain official demos in their own GitHub repository as well as a list of awesome Godot community resources.

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 TODOs