Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Maganty Rushyendra b7d835d9ca Enable zero padding with float specifier for format strings
Godot currently supports zero padding for integers, octals and
hexadecimals when using format strings, but not for floats.

This commit adds support for zero padding for floats, thus ensuring
consistent behavior for all types, and making Godot's format specifiers'
behavior closer to c's `printf()`.

Before: `print("<%07.2f>" % -0.2345)` prints `<  -0.23>`.
Now: `print("<%07.2f>" % -0.2345)` prints `<-000.23>`.
     `print("<%7.2f>" % -0.2345)` prints `<  -0.23>`.
2020-06-03 21:21:27 +08:00
.github GitHub: Remove feature request placeholder template 2020-05-29 10:21:01 +02:00
core Enable zero padding with float specifier for format strings 2020-06-03 21:21:27 +08:00
doc Merge pull request #39113 from nekomatata/bbcode-image-color 2020-06-03 13:16:13 +02:00
drivers fix(Directory): remove erasing print 2020-05-28 05:46:01 -05:00
editor Merge pull request #39150 from dreamsComeTrue/project-manager-grab-focus-on-enter 2020-06-03 11:31:54 +02:00
main Merge pull request #39051 from Xrayez/geometry-split 2020-05-29 12:10:37 +02:00
misc SCons: Improve registration of compilation_db tool, check version 2020-05-18 14:11:19 +02:00
modules Fixes building mono release templates 2020-05-30 12:21:24 +07:00
platform Fix inconsistent error messages with Android custom export templates 2020-06-01 23:13:31 +02:00
scene Merge pull request #39113 from nekomatata/bbcode-image-color 2020-06-03 13:16:13 +02:00
servers Light2D shadow mask construction fix 2020-06-02 10:37:01 +02:00
thirdparty xatlas: Sync with upstream 470576d 2020-05-20 13:51:15 +02:00
.appveyor.yml Added compilation database support for clang and gcc 2020-05-12 13:07:50 +02: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 Miscellaneous cleanup for the Android codebase: 2020-03-04 12:16:17 -08:00
.gitattributes Mark `*.tza` files as binary in `.gitattributes` for old Git versions 2020-05-12 09:49:19 +02:00
.gitignore Add `custom.py` to .gitignore 2020-05-18 10:28:43 +03:00
.mailmap Update AUTHORS and DONORS list 2020-04-17 13:40:29 +02:00
.travis.yml Activate emscripten with no-embedded option. 2020-05-30 12:51:06 +01:00
AUTHORS.md Update AUTHORS and DONORS list 2020-04-17 13:40:29 +02:00
CHANGELOG.md Changelog: Mention 3.2 changes to TileMap features 2020-02-05 15:10:58 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Improve `CONTRIBUTING.md` and update it to follow recent changes 2020-02-01 09:57:32 +01:00
COPYRIGHT.txt xatlas: Sync with upstream 470576d 2020-05-20 13:51:15 +02:00
DONORS.md Update DONORS list 2020-05-05 16:24:40 +02:00
LICENSE.txt Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
LOGO_LICENSE.md
README.md Add TODOs Badge to README 2020-03-25 19:53:51 -04:00
SConstruct Merge pull request #39137 from Xrayez/custom-modules-profile 2020-05-29 11:42:53 +02:00
gles_builders.py GLSL: Change shader type specifier from [vertex] to #[vertex] 2020-05-18 10:58:14 +02:00
icon.png
icon.svg
logo.png
logo.svg
methods.py Merge pull request #39125 from Xrayez/py-modules-order-4.0 2020-05-28 20:55:56 +02:00
platform_methods.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
version.py Bump version to 4.0-dev 2020-01-29 13:37:17 +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 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 developers, the best way is to join the #godotengine 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 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 Translate on Weblate Total alerts on LGTM TODOs