Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Crazy-P e6deba8d19 Fixes logically dead code (Coverity)
Fixes reported logically dead codes by Coverity

* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.

* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function

* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.

* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)

* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle

* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'

* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp

* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.

* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.

* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
core Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
doc Merge pull request #18316 from Noshyaar/http 2018-04-20 12:04:44 +02:00
drivers Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
editor Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
main Enable DynamicFont oversampling by default 2018-04-19 01:25:25 +02:00
misc Travis: Upgrade scons-local to 3.0.1 on OSX 2018-04-12 14:07:48 +02:00
modules Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
platform Provide error details when in-app purchase fails 2018-04-19 21:04:20 +07:00
scene Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
servers Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
thirdparty Update Hack font to v3.003 2018-04-11 22:40:58 +02:00
.appveyor.yml Add GDnative wrapper lib on CI build 2018-01-04 20:32:12 +01:00
.clang-format Style: Apply clang-format to Java files 2017-12-10 01:16:07 +01:00
.editorconfig Enforce insert_final_newline in the editorconfig. 2018-02-16 19:44:47 +01:00
.gitattributes Add .xml to .gitattributes 2017-10-13 21:29:26 +11:00
.gitignore Added Geany/geany_plugins files to the ".gitignore". 2018-01-07 14:14:32 -02: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: Enforce Coverity Scan on STATIC_CHECKS Linux/gcc build job 2018-04-12 13:45:26 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2018-04-06 21:36:50 +02:00
CHANGELOG.md Add a project changelog 2018-02-22 18:25:40 +01:00
CONTRIBUTING.md fix some typos 2017-11-28 16:18:22 +01:00
COPYRIGHT.txt Update Hack font to v3.003 2018-04-11 22:40:58 +02:00
DONORS.md Update AUTHORS and DONORS list 2018-04-06 21:36:50 +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_LICENSE.md Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
README.md README: Use HTTPS URL for image. (#17851) 2018-03-30 22:11:52 +02:00
SConstruct Refactor JavaScript platform build script 2018-03-26 19:46:56 +02:00
compat.py Fix build with Python 3 on Windows 2017-10-29 19:27:12 +01:00
icon.png Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
icon.svg Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
logo.png Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
logo.svg Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
methods.py Refactor JavaScript platform build script 2018-03-26 19:46:56 +02:00
version.py Bump version to 3.1-dev 2018-01-30 00:19:24 +01:00

README.md

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