Virtualx Game Engine. Forked from Godot 3.6
Find a file
George Marques 5f77f38573
Add runner for GDScript testing
This is meant for testing the GDScript implementation, not for testing
user scripts nor testing the engine using scripts.

Tests consists in a GDScript file and a .out file with the expected
output. The .out file format is: expected status (based on the enum
GDScriptTest::TestStatus) on the first line, followed by either an error
message or the resulting output. Warnings are added after the first
line, before the output (or compiler errors) if the parser pass without
any error.

The test script must have a function called `test()` which takes no
argument. Such function will be called by the test runner. The test
should not have any dependency unless it's part of the test too. Global
classes (using `class_name`) are registered before the runner starts, so
those should work if needed.

Use the command `godot --gdscript-generate-tests
godot-source/modules/gdscript/tests/scripts` to update the .out files
with the current output (make sure the output are the expected values
before committing).

The tests themselves are part of the doctest suite so those can be
executed with `godot --test`.

Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
2021-04-08 09:34:59 -03:00
.github [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00
core Sync controller mappings DB with SDL2 community repo 2021-04-06 22:39:35 +02:00
doc Merge pull request #43900 from nathanfranke/fix-stream-peer-tcp-ambiguity 2021-04-07 11:54:59 +02:00
drivers Merge pull request #47640 from BastiaanOlij/fix_vulkan_format 2021-04-05 14:55:32 +02:00
editor Merge pull request #47651 from Calinou/export-improve-nonexistent-preset-errors 2021-04-06 14:37:25 +02:00
main Fix feature tag casing in the Windows pen tablet project setting name 2021-03-22 14:18:48 +01:00
misc Add Open Graph metadata to the HTML5 editor 2021-03-24 18:42:41 +01:00
modules Add runner for GDScript testing 2021-04-08 09:34:59 -03:00
platform [HTML5] Implement WebGL fallback. 2021-04-06 12:57:24 +02:00
scene Merge pull request #47441 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2 2021-04-07 16:25:30 +02:00
servers Merge pull request #47678 from madmiraal/fix-47436.1 2021-04-06 22:35:49 +02:00
tests Merge pull request #46991 from madmiraal/rename-invert-reverse 2021-04-01 13:32:22 +02:00
thirdparty [Net] Fix miniupnpc UWP build. 2021-03-24 12:53:43 +01: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 Use space indentation for all YAML files in .editorconfig 2021-02-20 02:53:10 +01:00
.gitattributes Mark *.tza files as binary in .gitattributes for old Git versions 2020-05-12 09:49:19 +02:00
.gitignore gitignore: Ignore Kate swap files 2021-01-27 01:07:57 +03:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2021-04-05 17:35:11 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2021-04-05 17:35:11 +02:00
CHANGELOG.md Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
CONTRIBUTING.md Link to Godot Contributors Chat instead of IRC 2021-03-05 22:32:48 +01:00
COPYRIGHT.txt Merge pull request #46937 from nekomatata/soft-body-support 2021-03-20 21:45:20 +01:00
DONORS.md Update AUTHORS and DONORS list 2021-04-05 17:35:11 +02:00
glsl_builders.py RenderingServer reorganization 2020-12-04 18:39:46 -03:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
icon.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
LICENSE.txt Update copyright statements to 2021 2021-01-01 20:19:21 +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 Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
LOGO_LICENSE.md Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-03 14:30:06 +01:00
methods.py SCons: Pass tests configuration to the MSVC solution 2021-03-23 23:29:14 +01:00
platform_methods.py Merge python EnvironmentError, IOError and WindowsError into OSError. 2020-09-02 15:58:07 +01:00
README.md Link to Godot Contributors Chat instead of IRC 2021-03-05 22:32:48 +01:00
SConstruct Merge pull request #44398 from RevoluPowered/unit-tests-for-export-templates 2021-03-23 00:42:29 +01:00
version.py Update copyright statements to 2021 2021-01-01 20:19:21 +01: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 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.

Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs