Virtualx Game Engine. Forked from Godot 3.6
Find a file
David Briscoe 9cbc4026ee
doc: Clarify when to construct a StringName ahead of time
Fix docs don't give justification for manual construction.

Clarify how to apply manual StringName construction as an
optimization and that "string intern" means "work at parse time".

There are several godot-demo-projects (including 3d/platformer) that
incorrectly use StringName literals (they use & literals instead of just
passing strings), so clearly this is confusing.

AThousandShips did a disassembly test to prove it automatically converts
constant strings to StringName for annotated functions:

  func do_test(_var: StringName, _var2: String):
  pass

  func test():
  do_test("abc", "def")

Yields:

  Disassembling do_test(_var, _var2)
   0: line 2:     pass
   2: == END ==

  Disassembling test()
   0: line 5:     do_test("abc", "def")
   2: call self.do_test(const(&"abc"), const("def"))
   10: assign stack(3) = false
   12: == END ==

It also happens with built-in functions such as those of Input.
2024-02-09 12:08:12 +01:00
.github Fix doc_status.py trying to get removed version tag from XML 2023-07-13 16:25:54 +02:00
core Merge pull request #79466 from Repiteo/core_bind-header-fix 2023-07-21 17:15:29 +02:00
doc doc: Clarify when to construct a StringName ahead of time 2024-02-09 12:08:12 +01:00
drivers Merge pull request #79526 from Zylann/fix_rd_thread_safe 2023-07-21 17:54:39 +02:00
editor Merge pull request #79600 from Rindbee/fix-rename-animation-in-SpriteFramesEditor 2023-07-21 17:54:47 +02:00
main Don't use splash minimum display time in editor 2023-07-12 21:09:30 +02:00
misc Bump version to 4.2-dev 2023-07-05 22:07:03 +02:00
modules Merge pull request #79353 from sepTN/fix-docs-for-consistency 2023-07-21 17:54:26 +02:00
platform Merge pull request #79350 from kleonc/screen_to_pixel_byte_to_float_conversion_fix 2023-07-21 17:54:21 +02:00
scene Merge pull request #79655 from kleonc/scene-dubugger-remove-outdated-error-check 2023-07-21 17:55:02 +02:00
servers Merge pull request #79624 from mandryskowski/patch-1 2023-07-21 17:54:50 +02:00
tests Merge pull request #79444 from Miguel0312/TestInputEvent 2023-07-21 17:54:35 +02:00
thirdparty [ENet] Update to upstream master. 2023-07-20 12:20:14 +02:00
.clang-format Style: Workaround clang-format 14 bug with Inline oneliner functions 2022-08-03 12:20:23 +02:00
.clang-tidy Style: Partially apply clang-tidy's cppcoreguidelines-pro-type-member-init 2022-05-02 16:28:25 +02:00
.editorconfig Add GDScript .editorconfig rules 2023-01-10 12:25:35 -05:00
.git-blame-ignore-revs Add Git blame ignore revisions file (used by GitHub's blame view) 2022-03-24 21:50:47 +01:00
.gitattributes File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:35 +02:00
.gitignore add venv and .venv to the .gitignore 2023-05-05 18:32:20 +02:00
.lgtm.yml
.mailmap Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
CHANGELOG.md Clarify return value of get_dependencies() 2023-07-11 13:28:34 +02:00
CONTRIBUTING.md Streamline and centralize bug reporting guides 2023-05-03 14:53:49 -04:00
COPYRIGHT.txt openxr: Sync with upstream 1.0.28 2023-07-11 09:13:16 +02:00
DONORS.md Update AUTHORS and DONORS list 2023-06-26 17:56:14 +02:00
gles3_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
glsl_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
icon.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
icon_outlined.png Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
icon_outlined.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
LICENSE.txt One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
logo.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
LOGO_LICENSE.md
logo_outlined.png Convert the logo's text outlines into paths 2023-04-07 17:51:56 +02:00
logo_outlined.svg Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
methods.py SCons: Move platform logo/run icon to export folder 2023-06-20 13:16:37 +02:00
platform_methods.py SCons: Move platform logo/run icon to export folder 2023-06-20 13:16:37 +02:00
README.md Minor typo and docs URL fixes 2023-02-28 13:38:01 +01:00
SConstruct Merge pull request #73443 from akien-mga/unbundle-openxr 2023-07-12 17:15:25 +02:00
scu_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
version.py Bump version to 4.2-dev 2023-07-05 22:07:03 +02: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 with 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 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 the Godot Engine editor

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.

The best way to get in touch with the core engine developers 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 Read the Docs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from the Godot editor.

We also maintain official demos in their own GitHub repository as well as a list of awesome Godot community resources.

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 TODOs