Virtualx Game Engine. Forked from Godot 3.6
Find a file
Fabio Alessandrelli a8950f98dd [WebSocket] Refactor websocket module.
This commit is a huge refactor of the websocket module.
The module is really old, and some design choices had to be
re-evaluated.

The WebSocketClient and WebSocketServer classes are now gone, and
WebSocketPeer can act as either client or server.
The WebSocketMultiplayerPeer class is no longer abstract, and implements
the Multiplayer API on top of the lower level WebSocketPeer.

WebSocketPeer is now a "raw" peer, like StreamPeerTCP and StreamPeerTLS,
so it emits no signal, and just needs polling to update its internal
state.

To use it as a client, simply call WebSocketPeer.coonect_to_url, then
frequently poll the peer until STATE_OPEN is reached and then you can
write or read from it, or STATE_CLOSED and then you can check the
disconnect code and reason).

To implement a server instead, a TCPServer must be created, and the
accepted connections needs to be provided to
WebSocketPeer.accept_stream (which will perform the HTTP handshake).

A full example of a WebSocketServer using TLS will be provided in the
demo repository.
2022-10-11 15:52:30 +02:00
.github Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
core Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo 2022-10-11 13:59:53 +02:00
doc Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo 2022-10-11 13:59:53 +02:00
drivers Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo 2022-10-11 13:59:53 +02:00
editor Merge pull request #61776 from Rindbee/fix-code-editor-search 2022-10-11 13:59:40 +02:00
main Rename Engine.target_fps and associated project setting to max_fps 2022-10-03 23:54:36 +02:00
misc Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy 2022-09-30 17:44:39 +02:00
modules [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
platform Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo 2022-10-11 13:59:53 +02:00
scene Merge pull request #67201 from progsource/richtextlabel-icon-spritesheet 2022-10-11 13:58:54 +02:00
servers Merge pull request #67176 from cooperra/negative-scale-culling-fix 2022-10-11 09:27:34 +02:00
tests Merge pull request #64268 from timothyqiu/is-finite 2022-10-11 09:25:46 +02:00
thirdparty Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03: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 a simple C# .editorconfig 2021-07-23 17:04:53 -04: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 Replace local web server setup for web editor with a Python-based solution 2022-10-04 19:39:27 +02:00
.lgtm.yml Create a basic .lgtm.yml file. 2020-09-03 14:49:14 +01:00
.mailmap Update AUTHORS and DONORS list 2022-09-27 23:34:08 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2022-09-27 23:34:08 +02:00
CHANGELOG.md Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
CONTRIBUTING.md Unify bits, arch, and android_arch into env["arch"] 2022-08-25 11:19:20 +02:00
COPYRIGHT.txt etcpak: Update to upstream release 1.0 (June 4, 2022) 2022-06-10 12:36:45 +02:00
DONORS.md Update AUTHORS and DONORS list 2022-09-27 23:34:08 +02:00
gles3_builders.py Rename Projection matrix to columns 2022-10-04 12:34:19 -05:00
glsl_builders.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07: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
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 Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
LICENSE.txt Update copyright statements to 2022 2022-01-03 21:27:34 +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
logo_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
logo_outlined.svg Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
methods.py .NET: Generate SdkPackageVersions.props from version.py 2022-10-05 20:31:26 +02:00
platform_methods.py Unify bits, arch, and android_arch into env["arch"] 2022-08-25 11:19:20 +02:00
README.md Remove LGTM badge 2022-10-01 18:31:18 +02:00
SConstruct Merge pull request #67000 from RandomShaper/split_render_further 2022-10-11 09:23:32 +02:00
version.py Bump version to 4.0-beta \o/ 2022-09-15 01:47:27 +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 ReadTheDocs. 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