Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Rémi Verschelde 8f660393fe
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.
2020-12-17 11:36:50 +01:00
.github CI: Shrink Windows cache to 3GB, we run out of disk space 2020-12-04 20:06:15 +01:00
core Merge pull request #44393 from Calinou/add-stdout-flush-project-setting 2020-12-17 10:06:50 +01:00
doc Merge pull request #44393 from Calinou/add-stdout-flush-project-setting 2020-12-17 10:06:50 +01:00
drivers Reimplement skeletons and blend shapes 2020-12-16 14:32:04 -03:00
editor Merge pull request #44301 from pycbouh/show-count-find-in-files 2020-12-17 10:04:50 +01:00
main Add a project setting to enable stdout flushing in release builds 2020-12-15 16:40:52 +01:00
misc Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
modules Merge pull request #44105 from neikeq/mono-wasm-m2n-hook 2020-12-17 09:58:24 +01:00
platform Merge pull request #44433 from akien-mga/scons-fix-platform-opts 2020-12-17 09:56:07 +01:00
scene Merge pull request #44295 from akien-mga/proximity-group-fix-access-modifiers 2020-12-17 10:06:02 +01:00
servers Merge pull request #44360 from bruvzg/ctl_punct_word_break 2020-12-17 09:02:01 +01:00
tests Add test suite for `FileAccess` 2020-12-11 16:05:18 +02:00
thirdparty Rework Mesh handling on scene importing. 2020-12-13 21:29:51 -03: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 Add a separate `nativeSrcsConfigs` module to handle Android Studio constraints for native code editor support. 2020-10-29 00:01:14 -07:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2020-12-09 13:03:01 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2020-10-28 14:06:22 +01:00
CHANGELOG.md Mention compatibility-breaking Camera2D offset change in the changelog 2020-09-15 15:56:36 +02:00
CONTRIBUTING.md Document contributing tests to Godot's C++ codebase 2020-09-30 16:29:23 +02:00
COPYRIGHT.txt Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-03 14:30:06 +01:00
DONORS.md Update AUTHORS and DONORS list 2020-12-09 13:03:01 +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-03 14:30:06 +01:00
README.md Remove GitHub actions badge. 2020-09-01 23:07:35 +05:30
SConstruct SCons: Fix build with `p` alias or platform auto-detection 2020-12-17 11:36:50 +01:00
glsl_builders.py RenderingServer reorganization 2020-12-04 18:39:46 -03: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
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 Don't handle BaseException in build scripts 2020-12-12 10:05:42 +00:00
platform_methods.py Merge python EnvironmentError, IOError and WindowsError into OSError. 2020-09-02 15:58:07 +01:00
version.py Bump version to 4.0-dev 2020-01-29 13:37:17 +01: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.

Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs