Godot Engine – Multi-platform 2D and 3D game engine
Go to file
George Marques a166833bfa
GDScript: Add warnings that are set to error by default
- Adds a list of default levels for all warning so they can be set
  individually.
- Add warnings set by default to error for:
  - Using `get_node()` without `@onready`.
  - Using `@onready` together with `@export`.
  - Inferring a static type with a Variant value.
  - Overriding a native engine method.
- Adjust how annotations to ignore warnings are treated so they also
  apply to method parameters.
- Clean up a bit how ignored warnings are set. There were two sets but
  only one was actually being used.
- Set all warnings to the `WARN` level for tests, so they they can be
  properly tested.
- Fix enum types in native methods signatures being set to `int`.
- Fix native enums being treated as Dictionary by mistake.
- Make name of native enum types use the class they are defined in, not
  the direct super class of the script. This ensures they are always
  equal even when coming from different sources.
- Fix error for signature mismatch that was only showing the first
  default argument as having a default. Now it shows for all.
2023-02-01 00:05:14 -03:00
.github [CI] Remove packages that are no longer necessary. 2023-01-25 10:55:34 +02:00
core Merge pull request #72452 from akien-mga/global_class_always_create 2023-01-31 16:00:12 +01:00
doc GDScript: Add warnings that are set to error by default 2023-02-01 00:05:14 -03:00
drivers Audio rename (device, capture_device) -> (output_device, input_device) 2023-01-31 18:25:11 +01:00
editor Audio rename (device, capture_device) -> (output_device, input_device) 2023-01-31 18:25:11 +01:00
main Merge pull request #70377 from dsnopek/server-export-mk2 2023-01-23 22:13:28 +01:00
misc Fix various typos with codespell 2023-01-30 14:22:47 +01:00
modules GDScript: Add warnings that are set to error by default 2023-02-01 00:05:14 -03:00
platform Merge pull request #71174 from RedMser/fix-confined-mouse-mode-update 2023-01-31 15:56:29 +01:00
scene Merge pull request #72436 from Chaosus/vs_switch_improvement 2023-01-31 22:55:42 +03:00
servers Merge pull request #72425 from smix8/default_physics_space_on_demand_only_4.x 2023-01-31 18:56:35 +01:00
tests Merge pull request #71972 from Sauermann/fix-test-ds 2023-01-31 15:56:50 +01:00
thirdparty [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01: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 Do not ignore x86 source code directories anywhere under thirdparty directory 2022-12-20 22:01:50 -08:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2022-12-15 12:11:41 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2022-12-15 12:11:41 +01:00
CHANGELOG.md Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
CONTRIBUTING.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
COPYRIGHT.txt Add ASTC compression and decompression with Arm astcenc. 2023-01-19 16:27:59 +01:00
DONORS.md Fix typos with codespell 2022-12-15 12:24:08 +01:00
gles3_builders.py Add GPUParticles to the OpenGL3 renderer. 2022-11-14 23:28:25 -08:00
glsl_builders.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07: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 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.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
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
logo_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
logo_outlined.svg Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +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 Merge pull request #63312 from bruvzg/one_click 2023-01-13 18:00:18 +01:00
platform_methods.py Unify bits, arch, and android_arch into env["arch"] 2022-08-25 11:19:20 +02:00
README.md Fix link to docs for building from source 2023-01-11 18:53:15 +00:00
SConstruct SCons: Fix feature build profile being parsed too late 2023-01-16 12:22:27 +01:00
version.py Bump version to 4.0-beta \o/ 2022-09-15 01:47:27 +02: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 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 ReadTheDocs. 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