Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Rémi Verschelde 32f5bee985
LineEdit: Respect `max_length` by truncating text to append
When appending text (either via `set_text()` or by pasting from clipboard),
if the input would make the `LineEdit` exceed its configured `max_length`,
the input text is truncated to fit. The discard part is passed as a parameter
in the `text_change_rejected` signal.

Fixes #33321.
Fixes #41278.

Also cleaned up unimplemented `max_chars` property in `TextEdit`.

Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
(cherry picked from commit 9a1ce8e6c3)
2021-07-13 10:20:02 +02:00
.github Don't install Android NDK in CI 2021-06-07 12:15:20 +02:00
core Merge pull request #50328 from nekomatata/convex-hull-simplification-3.x 2021-07-12 22:34:22 +02:00
doc LineEdit: Respect `max_length` by truncating text to append 2021-07-13 10:20:02 +02:00
drivers fix 3D scene not rendered on GLES3 HTML5 export 2021-07-08 22:03:03 +09:00
editor Make `EditorVCSInterface` proxy functions virtual in C++ 2021-07-13 09:46:49 +02:00
main Tweak the physics FPS property hint to only allow reasonable values 2021-06-17 12:47:53 +02:00
misc Add LSApplicationCategoryType to the template and export dialog. 2021-06-17 12:47:55 +02:00
modules Merge pull request #50328 from nekomatata/convex-hull-simplification-3.x 2021-07-12 22:34:22 +02:00
platform [macOS, Mono] Automatically enable JIT entitlements for the Mono exports. 2021-07-11 01:06:04 +02:00
scene LineEdit: Respect `max_length` by truncating text to append 2021-07-13 10:20:02 +02:00
servers Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult 2021-07-05 11:21:15 -07:00
thirdparty Upgrade Embree to the latest official release. 2021-05-22 15:14:07 +02:00
.clang-format Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
.clang-tidy Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
.editorconfig Use space indentation for all YAML files in `.editorconfig` 2021-02-22 10:15:50 +01:00
.gitattributes
.gitignore gitignore: Ignore Kate swap files 2021-02-02 13:02:45 +01:00
.mailmap Update AUTHORS and DONORS list 2021-05-14 13:19:19 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2021-05-14 13:19:19 +02:00
CHANGELOG.md Add OpenSimplexNoise output change to changelog 2021-04-26 20:26:58 +02:00
CONTRIBUTING.md Link to Godot Contributors Chat instead of IRC 2021-03-07 22:51:06 +01:00
COPYRIGHT.txt Merge pull request #48967 from akien-mga/3.x-embree-3.13.0 2021-05-24 17:03:04 +02:00
DONORS.md Style fix in DONORS.md (trailing space) 2021-06-16 13:50:05 +02:00
LICENSE.txt Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
LOGO_LICENSE.md Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-09 11:22:04 +01:00
README.md Link to Godot Contributors Chat instead of IRC 2021-03-07 22:51:06 +01:00
SConstruct Correct pre-deprication warning message regarding linuxbsd/x11 platform 2021-04-22 21:54:35 +03:00
compat.py SCons: Fix python2 compatibility after #37198 and #37248 2020-06-11 20:15:48 +02:00
gles_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
icon.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
methods.py SCons: Properly handle overriding default values to bool options 2021-02-24 10:20:46 +01:00
platform_methods.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
version.py Bump version to 3.4-beta 2021-04-22 15:27:35 +02:00

README.md

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 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.

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.

Actions Build Status Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs