Go to file
PouleyKetchoupp 2c4d64102a Fix general keyboard input lag on X11 display server
This change makes keyboard inputs more responsive on Linux, especially
when the FPS is lower on slower configurations.

Polling events from the x server is done on a separate thread to avoid a
frame delay with inputs, due to first sending the event to the input
manager with XFilterEvent then processing the new event only on the next
frame.

Calls to Input Manager functions like XSetICFocus, XUnsetICFocus and
XSetICValues use a mutex, because they are polling events internally and
would otherwise interfere with our own thread process for polling events
which can cause a deadlock in some cases.

XUnsetICFocus is called instead of XSetICFocus on FocusOut events,
so the input manager can be properly notified of focus changes.

clipboard_get now uses a blocking call to poll for a specific event type
when waiting for a SelectionNotify event, instead of polling all events
and filtering them afterwards.
2020-09-24 16:01:41 +02:00
.github Remove community health files from this repository 2020-08-27 15:53:59 +02:00
core Fix crash when opening a ZIP data pack 2020-09-19 15:45:00 +02:00
doc Merge pull request #42181 from Leleat/document-open-open_script_create_dialog 2020-09-23 09:31:00 +02:00
drivers Fix RasterizerDummy, override, cleanup. 2020-09-18 18:43:15 +02:00
editor Merge pull request #42150 from DashCell/resize_tile_shape_fixed 2020-09-23 10:51:02 +02:00
main Donors: Add Gamblify, remove Interblock from splash screen 2020-09-16 16:10:35 +02:00
misc Make canvas resize optional in HTML5. 2020-09-23 09:51:06 +02:00
modules Merge pull request #42195 from extrawurst/patch-1 2020-09-23 09:13:41 +02:00
platform Fix general keyboard input lag on X11 display server 2020-09-24 16:01:41 +02:00
scene Merge pull request #42173 from nekomatata/popup-menu-click-delay 2020-09-23 09:36:00 +02:00
servers Merge pull request #42130 from clayjohn/RenderingDeviceHack 2020-09-23 10:41:58 +02:00
tests Fix typos with codespell 2020-09-18 13:44:25 +02:00
thirdparty zstd: Update to upstream version 1.4.5 2020-09-18 21:47:12 +02:00
.clang-format Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
.clang-tidy Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
.editorconfig C#: Switch games to MSBuild Sdks and .NET Standard 2020-07-25 19:22:01 +02:00
.gitattributes Mark *.tza files as binary in .gitattributes for old Git versions 2020-05-12 09:49:19 +02:00
.gitignore git: Ignore clangd cache folder 2020-09-10 12:50:01 +02:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2020-09-08 17:22:50 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2020-09-08 17:22:50 +02:00
CHANGELOG.md Mention compatibility-breaking Camera2D offset change in the changelog 2020-09-15 15:56:36 +02:00
CONTRIBUTING.md Document the requirement to update the class reference when contributing 2020-06-10 10:36:59 +02:00
COPYRIGHT.txt zstd: Update to upstream version 1.4.5 2020-09-18 21:47:12 +02:00
DONORS.md Donors: Add Gamblify, remove Interblock from splash screen 2020-09-16 16:10:35 +02:00
glsl_builders.py Remove unused Python local variables. 2020-09-11 11:39:15 +01:00
icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
icon.svg
LICENSE.txt Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
logo.svg Commit only the SVG files changed by file_format.sh 2020-07-13 14:08:55 -04:00
LOGO_LICENSE.md
methods.py Fix custom modules in Visual Studio 2020-09-18 19:33:03 +02:00
platform_methods.py Merge python EnvironmentError, IOError and WindowsError into OSError. 2020-09-02 15:58:07 +01:00
README.md Remove GitHub actions badge. 2020-09-01 23:07:35 +05:30
SConstruct Remove unused Python imports. 2020-09-10 11:38:52 +01:00
version.py Bump version to 4.0-dev 2020-01-29 13:37:17 +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 #godotengine-devel IRC channel on Freenode.

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