Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Eoin O'Neill 8de98dbf21 Prevent double input events on gamepad when running through steam input
During GDC and general testing on Steam Deck units, we found that single
gamepads would often register inputs twice under certain circumstances.
This was caused by SteamInput creating a new virtual device, which Godot
registers as a second gamepad. This resulted in two gamepad devices
reporting the same button presses, often leading to buggy input response
on games with no multi-device logic and other-wise could cause intended
Steam rebindings to not work as intended (for example, swapping o and x
on a playstation pad if that feature isn't supported by the game.)

SDL gets around this by taking in a list of devices that are to be
ignored. When valve sees a controller that wants to be rebound via
SteamInput, they push a new VID/PID entry onto the environment
variable `SDL_GAMECONTROLLER_IGNORE_DEVICES` for the original gamepad
so that all game inputs can be read from the virtual gamepad instead.

This leverages the same logic as we are already using SDL gamepad
related HID mappings.
2023-07-10 15:26:33 -07:00
.github CI: Use SCU build for Linux w/ sanitizers build 2023-06-20 13:15:34 +02:00
core Prevent double input events on gamepad when running through steam input 2023-07-10 15:26:33 -07:00
doc Prevent double input events on gamepad when running through steam input 2023-07-10 15:26:33 -07:00
drivers Reset filter/repeat state of textures in GL Compatibility renderer when render target is cleared 2023-06-23 10:57:56 -07:00
editor Revert "Fix paste value not updated in dictionaries/arrays" 2023-06-24 10:59:35 +02:00
main C#: Fix editor integration breaking and causing error spam when reloading assemblies fails 2023-06-21 12:47:52 +02:00
misc Ensure `RID`, `Callable`, and `Signal` are stored as strings 2023-06-22 17:01:08 +02:00
modules Merge pull request #77532 from dsnopek/text_server_adv_gdextension 2023-06-23 17:23:29 +02:00
platform Prevent double input events on gamepad when running through steam input 2023-07-10 15:26:33 -07:00
scene Merge pull request #78591 from ajreckof/Fix-crash-when-removing-child-during-focus-exit- 2023-06-23 22:45:51 +02:00
servers Varying mismatch causing shaders to fail. 2023-06-23 21:36:38 -07:00
tests Merge pull request #74760 from lassade/unicode-err-uses-replacement-char 2023-06-22 18:30:04 +02:00
thirdparty Revert "minimp3: Add a .cpp file to simplify building the single-header implementation" 2023-06-19 13:34:56 +02:00
.clang-format Style: Workaround clang-format 14 bug with `Inline` oneliner functions 2022-08-03 12:20:23 +02:00
.clang-tidy Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` 2022-05-02 16:28:25 +02:00
.editorconfig Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
.git-blame-ignore-revs Add Git blame ignore revisions file (used by GitHub's blame view) 2022-03-24 21:50:47 +01:00
.gitattributes File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:35 +02:00
.gitignore add venv and .venv to the .gitignore 2023-05-05 18:32:20 +02:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2023-02-24 14:46:21 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2023-02-24 14:46:21 +01:00
CHANGELOG.md Fix various typos with codespell 2023-04-26 13:57:09 +02:00
CONTRIBUTING.md Streamline and centralize bug reporting guides 2023-05-03 14:53:49 -04:00
COPYRIGHT.txt Merge pull request #78099 from DeeJayLSP/rvo2023 2023-06-14 09:25:10 +02:00
DONORS.md Update AUTHORS and DONORS list 2023-02-24 14:46:21 +01:00
LICENSE.txt One Copyright Update to rule them all 2023-01-05 13:25:55 +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
README.md Minor typo and docs URL fixes 2023-02-28 13:38:01 +01:00
SConstruct SCons: Move platform logo/run icon to `export` folder 2023-06-20 13:16:37 +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 Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
icon.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02: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 Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
logo.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
logo_outlined.png Convert the logo's text outlines into paths 2023-04-07 17:51:56 +02:00
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.1-beta 2023-06-07 11:10:19 +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