Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Rémi Verschelde ee77567cac
SCons: Fix build with `p` alias or platform auto-detection
Fixes a pre-existing bug that #44433 exposed.

It's pretty hacky, but we use `platform` in `env` both as an optional command
line option (instead it can be autodetected, or passed via the `p` alias, and
on Linux it might be overridden if you pass one of the convenience alias
values), and as the reference value for what platform we're building on.

Thus we override `env_base["platform"]` with the autodetected or validated
platform, but any call to `opts.Update(env_base)` overrides it with the
original command line option... causing e.g. #44448.

The proper fix would be to refactor all this so that we don't reuse
`env["platform"]` for platform detection (it could instead be e.g.
`env.platform` as a member variable which holds the validated value),
but for now I'm tapering over the immediate breakage.

Fixes #44448 and other breakages induced by #44433.

(cherry picked from commit 8f660393fe)
2020-12-29 16:02:00 +01:00
.github [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
core Quick fix to incorrect error messages when writing to compressed or encrypted files. 2020-12-29 16:02:00 +01:00
doc Added a note describing a code behind Vector2/3.direction_to 2020-12-29 16:02:00 +01:00
drivers Batching - fix proxy textures (e.g. animated) especially ninepatch 2020-12-29 10:40:17 +00:00
editor Move the brightness factor for highlighted 3D gizmos to a variable 2020-12-29 16:02:00 +01:00
main Add a project setting to enable stdout flushing in release builds 2020-12-29 16:02:00 +01:00
misc Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
modules Mono: Add extra WASM framework assemblies on game export 2020-12-29 16:01:59 +01:00
platform SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
scene ProximityGroup: Fix access modifiers, rename private methods for clarity 2020-12-29 16:01:58 +01:00
servers Merge pull request #44458 from dedm0zaj/3.2_lightmap_capture_data_energy 2020-12-25 15:07:31 +01:00
thirdparty Fix some easing equations' undefined behaviours. 2020-12-10 13:08:05 +01:00
.clang-format clang-format: Add JavaImportGroups for Java code 2020-05-07 13:36:27 +02:00
.editorconfig 3.2 New csproj style with backport of Godot.NET.Sdk 2020-08-20 21:48:59 +02:00
.gitattributes Git: Explicitly list binary files as such to avoid EOL change 2019-05-25 10:43:48 +02:00
.gitignore Add a separate `nativeSrcsConfigs` module to handle Android Studio constraints for native code editor support. 2020-11-11 15:30:56 +01:00
.mailmap Update AUTHORS and DONORS list 2020-12-09 13:04:27 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2020-10-28 15:09:17 +01:00
CHANGELOG.md Fix typos with codespell 2020-09-18 14:09:51 +02:00
CONTRIBUTING.md Document the requirement to update the class reference when contributing 2020-06-10 15:30:52 +02:00
COPYRIGHT.txt Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-09 11:22:04 +01:00
DONORS.md Update AUTHORS and DONORS list 2020-12-09 13:04:27 +01:00
LICENSE.txt Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
LOGO_LICENSE.md Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-09 11:22:04 +01:00
README.md Improve the project README 2020-08-14 00:32:04 +02:00
SConstruct SCons: Fix build with `p` alias or platform auto-detection 2020-12-29 16:02:00 +01:00
compat.py SCons: Fix python2 compatibility after #37198 and #37248 2020-06-11 20:15:48 +02:00
gles_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
icon.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
methods.py Don't handle BaseException in build scripts 2020-12-12 10:10:23 +00:00
platform_methods.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
version.py Bump version to 3.2.4-beta 2020-09-18 08:28:18 +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 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.

Actions Build Status Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs