Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Rémi Verschelde 771b3c583d
Color: Fix -Wtype-limits GCC warning after refactoring
Warning from GCC 10.2.0 with `warnings=extra`:
```
./core/math/color.h: In member function 'int32_t Color::get_r8() const':
./core/typedefs.h:107:42: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
  107 | #define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a))
      |                                    ~~~~~~^~~~~~~~~
./core/math/color.h:201:49: note: in expansion of macro 'CLAMP'
  201 |  _FORCE_INLINE_ int32_t get_r8() const { return CLAMP(uint32_t(r * 255.0), 0, 255); }
      |                                                 ^~~~~
```

Also some code consistency changes while at it.
2020-11-09 14:11:21 +01:00
.github CI: Refactor Android workflow, use pre-installed SDK and NDK 2020-10-22 17:21:59 +02:00
core Color: Fix -Wtype-limits GCC warning after refactoring 2020-11-09 14:11:21 +01:00
doc Merge pull request #42841 from HaSa1002/docs-lang-3 2020-11-09 08:29:44 +01:00
drivers Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
editor Merge pull request #43380 from YeldhamDev/light2d_icons 2020-11-08 14:58:47 +01:00
main Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
misc Optimize SVG using svgcleaner --multipass 2020-10-25 10:02:37 +01:00
modules Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
platform Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
scene Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
servers Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
tests Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
thirdparty Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -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-09-08 17:22:50 +02: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 vulkan: Sync loader, headers and glslang to sdk-1.2.154.0 2020-10-15 12:29:42 +02:00
DONORS.md Update AUTHORS and DONORS list 2020-10-28 14:06:22 +01:00
glsl_builders.py Remove unused Python local variables. 2020-09-11 11:39:15 +01: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
LICENSE.txt Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
LOGO_LICENSE.md Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
logo.svg Commit only the SVG files changed by file_format.sh 2020-07-13 14:08:55 -04:00
methods.py Add all headers to VS Project 2020-09-27 18:03:51 +02:00
platform_methods.py Merge python EnvironmentError, IOError and WindowsError into OSError. 2020-09-02 15:58:07 +01:00
README.md Remove GitHub actions badge. 2020-09-01 23:07:35 +05:30
SConstruct SCons: Refactor and cleanup warnings definition 2020-10-08 10:58:05 +02:00
version.py Bump version to 4.0-dev 2020-01-29 13:37:17 +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 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