Go to file
Viktor Ferenczi c5bd0c37ce Running builder (content generator) functions in subprocesses on Windows
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function

There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.

Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.

Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.

Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00
core Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
doc Merge pull request #15643 from organicpencil/bullet_contact_impulse 2018-07-26 15:36:37 +02:00
drivers add initial GLES2 3D renderer 2018-07-27 14:15:46 +02:00
editor Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
main Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
misc Main: Fix --check-only option implemented as paired 2018-07-27 08:39:48 +02:00
modules Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
platform Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
scene Fix PhysicsBody build with deprecated=no 2018-07-27 15:34:58 +02:00
servers Rename flag to better name 2018-07-27 08:59:18 -03:00
thirdparty Merge pull request #19422 from Faless/mbedtls_2.10 2018-07-10 15:04:16 +02:00
.appveyor.yml Fix scons installation on AppVeyor 2018-05-16 23:01:24 +02:00
.clang-format Style: Format code with clang-format 6.0.1 2018-07-18 16:27:03 +02:00
.editorconfig Adds C# rule to .editorconfig. 2018-07-20 08:42:13 +02:00
.gitattributes Add .xml to .gitattributes 2017-10-13 21:29:26 +11:00
.gitignore Add more IDE created files into .gitignore 2018-05-19 16:32:37 +08:00
.mailmap Disable colored output and progress bar when building outside of a TTY 2018-01-13 17:56:41 +01:00
.travis.yml Travis: Install libstdc++ >= 4.9 for clang-format-6.0 2018-07-18 17:39:05 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2018-07-18 10:31:12 +02:00
CHANGELOG.md Add a project changelog 2018-02-22 18:25:40 +01:00
CODEOWNERS Fix typo in gdnative module path in CODEOWNERS 2018-07-20 08:04:54 +02:00
compat.py fixed building using scons with python3 2018-05-28 18:41:16 +01:00
CONTRIBUTING.md fix some typos 2017-11-28 16:18:22 +01:00
COPYRIGHT.txt Bump libwebsockets to version 3.0.0 2018-06-07 18:07:35 +02:00
DONORS.md Update AUTHORS and DONORS list 2018-07-18 10:31:12 +02:00
gles_builders.py Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
icon.svg Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
ISSUE_TEMPLATE.md Issue template: Remove checkbox and reword some comments 2018-01-05 10:58:04 +01:00
LICENSE.txt Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
logo.svg Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
LOGO_LICENSE.md Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
methods.py Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
platform_methods.py Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
README.md README: Use HTTPS URL for image. (#17851) 2018-03-30 22:11:52 +02:00
SConstruct Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
version.py Bump version to 3.1-dev 2018-01-30 00:19:24 +01:00

Godot Engine logo

Godot Engine

Homepage: https://godotengine.org

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, Mac OSX, Windows) as well as mobile (Android, iOS) and web-based (HTML5) platforms.

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

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 developers, the best way is to join the #godotengine IRC channel on Freenode.

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 within the engine.

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 info.

Travis Build Status AppVeyor Build Status Code Triagers Badge