Virtualx Game Engine. Forked from Godot 3.6
Find a file
风青山 41f6a683b6
Correctly replace scene root when must_reload in EditorData::check_and_update_scene()
We need to update the scene root in multiple singletons to ensure that
certain flags are correct. This is what `EditorNode::set_edited_scene()`
does.

Usually we use `replace_by` to complete the replacement of the scene
root. Call `EditorNode::set_edited_scene()` when the `replacing_by`
signal is emitted to set the new scene root. This is suitable when
using a single node to replace, which may be problematic if the
replacing node is a tree. Because during the call to `replace_by()`,
the new node and its child nodes will enter tree during `parent->
add_child(p_node)`, and later emits the `replacing_by` signal.

When the parent scene has to be reloaded because the child scene
changes and switches to the parent scene, there is no need to use
`replace_by()` since the scene's diffs are already saved.
2024-04-10 09:49:29 +08:00
.github Bump github workflows to SCons 4.7 2024-04-05 17:09:10 -04:00
core Merge pull request #85024 from Jordyfel/moving-scripts-of-types-of-exported-typed-arrays 2024-04-09 22:25:00 +02:00
doc Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning 2024-04-09 22:24:55 +02:00
drivers Add reflection probe support to compatibility renderer using 2 probe approach. 2024-04-09 16:53:28 +10:00
editor Correctly replace scene root when must_reload in EditorData::check_and_update_scene() 2024-04-10 09:49:29 +08:00
main Add --import command-line flag 2024-04-09 15:18:59 +02:00
misc Merge pull request #88244 from shana/vs-improve-settings 2024-04-08 11:19:58 +02:00
modules Merge pull request #90422 from bruvzg/net_no_native_embed 2024-04-09 22:29:41 +02:00
platform [.NET] Disable output embedding on macOS, move it to the advanced options on other platforms. 2024-04-09 17:47:39 +03:00
scene Merge pull request #88056 from BastiaanOlij/gles_reflection_probes 2024-04-09 22:25:07 +02:00
servers Merge pull request #89491 from thimenesup/compute_dispatch_indirect 2024-04-09 10:42:22 +02:00
tests Add unit test for Vector2 plane_project 2024-04-05 21:57:01 +03:00
thirdparty Merge pull request #90253 from akien-mga/zstd-1.5.6 2024-04-08 15:03:25 +02:00
.clang-format
.clang-tidy
.editorconfig
.git-blame-ignore-revs Template format commit to .git-blame-ignore-revs 2024-03-08 08:33:06 -06:00
.gitattributes
.gitignore SCons: Fix Ninja compilation with MSVC 2024-04-04 10:16:33 -05:00
.mailmap Update AUTHORS and DONORS list 2024-02-13 10:00:17 +01:00
.pre-commit-config.yaml Pre-commit: Fix copyright_headers.py to run on all relevant files 2024-03-15 15:32:50 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2024-02-13 10:00:17 +01:00
CHANGELOG.md Add changelog for Godot 4.2 2023-11-29 18:08:07 +01:00
CONTRIBUTING.md Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
COPYRIGHT.txt pcre2: Update to 10.43 2024-03-11 11:42:02 +01:00
DONORS.md Update AUTHORS and DONORS list 2024-02-13 10:00:17 +01:00
gles3_builders.py [Buildsystem] Fix encoding when reading files 2024-03-24 18:02:56 +01:00
glsl_builders.py [Buildsystem] Fix encoding when reading files 2024-03-24 18:02:56 +01:00
godot.manifest Windows: Implement DisplayServer::dialog_show and DisplayServer::dialog_input_text 2024-03-04 12:53:22 -08:00
icon.png
icon.svg Follow up to blue robot icons optimization 2024-03-20 15:28:57 +02:00
icon_outlined.png
icon_outlined.svg Follow up to blue robot icons optimization 2024-03-20 15:28:57 +02:00
LICENSE.txt
logo.png
logo.svg Follow up to blue robot icons optimization 2024-03-20 15:28:57 +02:00
LOGO_LICENSE.txt Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
logo_outlined.png
logo_outlined.svg Follow up to blue robot icons optimization 2024-03-20 15:28:57 +02:00
methods.py Merge pull request #88244 from shana/vs-improve-settings 2024-04-08 11:19:58 +02:00
platform_methods.py SCons: Add an option to enable the experimental ninja build backend 2024-03-15 16:05:25 +01:00
README.md Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
SConstruct SCons: Fix up build with Python 3.10 2024-04-05 13:14:41 +02:00
scu_builders.py SCons: Fix SCU build regression on Windows 2024-04-09 22:18:37 +02:00
version.py Remove now unused year member from version.py 2024-01-25 15:08:34 +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 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 Godot Foundation 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 Godot website.

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. This document also includes guidelines for reporting bugs.

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