Find a file
robfram 8eedb2afe2 Fix crash in canvas_item_add_polyline when passing more points than colors
When `p_points.size() > p_colors.size()`, it crashed with invalid
array access to `p_colors`. Also, when `p_colors` was an empty
`Vector` it crashed due a missing `else` checking the `size`
condition, as the code handling that special case exists.

This PR fixes the missing `else` for `p_colors.size == 0` and,
following the `canvas_item_add_multiline` spirit, it only uses the
first color for the whole polyline if points and colors differ in
size.

Fix #17621.
2018-03-19 19:22:38 +01:00
core Merge pull request #16947 from Faless/ui_actions 2018-03-16 20:55:11 +01:00
doc Improve Input.is_action_just_* docs. 2018-03-18 13:41:25 +01:00
drivers Merge pull request #17130 from nical/issue-17050 2018-03-16 00:04:07 +01:00
editor Merge pull request #17622 from RandomShaper/gltf-fixes 2018-03-19 10:18:43 +01:00
main Open textfile in textmode 2018-03-16 16:28:05 +01:00
misc Check only for WebGL 1.0, move test to HTML file 2018-03-15 04:04:24 +01:00
modules Merge pull request #17603 from PJB3005/18-03-18-fix-mono-build-python3 2018-03-19 09:53:23 +01:00
platform Disable Emscripten assertions in release_debug builds 2018-03-18 21:33:54 +01:00
scene Merge pull request #17618 from groud/fix_gridcontainer 2018-03-19 10:12:20 +01:00
servers Fix crash in canvas_item_add_polyline when passing more points than colors 2018-03-19 19:22:38 +01:00
thirdparty
.appveyor.yml
.clang-format
.editorconfig
.gitattributes
.gitignore
.mailmap
.travis.yml
AUTHORS.md
CHANGELOG.md
compat.py
CONTRIBUTING.md
COPYRIGHT.txt
DONORS.md
icon.png
icon.svg
ISSUE_TEMPLATE.md
LICENSE.txt
logo.png
logo.svg
LOGO_LICENSE.md
methods.py
README.md
SConstruct
version.py

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