Godot (game engine) explained

Godot Engine
Logo Size:200px
Ver Layout:simple
Programming Language:C++
Operating System:Microsoft Windows, macOS, Linux, Android, Web, FreeBSD, NetBSD, OpenBSD
Platform:See
Size:28–189.3 Megabytes (varies by operating system)
Language:Arabic, Argentine Spanish, Brazilian Portuguese, Bulgarian, Catalan, Czech, Dutch, English, Esperanto, Finnish, French, Galician, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Malay, Norwegian Bokmål, Persian, Polish, Portuguese, Romanian, Russian, Slovak, Simplifield Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish, Ukrainian, Vietnamese
Language Count:36
Genre:Game engine
License:MIT License

Godot is a cross-platform, free and open-source game engine released under the permissive MIT license. It was initially developed in Buenos Aires by Argentine software developers Juan Linietsky and Ariel Manzur for several companies in Latin America prior to its public release in 2014. The development environment runs on many platforms, and can export to several more. It is designed to create both 2D and 3D games targeting PC, mobile, and web platforms and can also be used to develop non-game software, including editors.

Features

Godot allows video game developers to create both 3D and 2D games using multiple programming languages, such as C++, C# and GDScript.[1] It makes use of a hierarchy of nodes to facilitate the development experience.[2] Classes can be derived from a node type to create more specialized node types that inherit behavior. Nodes are organized inside of "scenes", which are reusable, instanceable, inheritable, and nestable groups of nodes. All game resources, including scripts and graphical assets, are saved as part of the computer's file system (rather than in a database). This storage solution is intended to facilitate collaboration between game development teams using software version control systems.

Supported platforms

The engine supports deployment to multiple platforms and allows specification of texture compression and resolution settings for each platform. The website provides binaries only for the editor platforms, and exporting projects to other platforms is done within the Godot editor.

The Godot editor, used for creating Godot games, supports the following platforms:

The engine supports exporting projects to many more platforms, including all of the editor platforms. Currently supported platforms as of Godot 4.0 are:[5]

The Godot engine can be run on consoles, although popular consoles are not officially supported since they do not allow their platform-specific code to be published under an open-source license.[6] Games can be ported to consoles through third-party companies.[7] Godot 4 support for consoles by third-party teams is currently being worked on.[5] W4 Games, a commercial company co-founded by some members of Godot's leadership, has announced plans to offer services porting Godot 4.0 games to Microsoft, Nintendo, and Sony platforms.[8] [9]

For CPU architectures, Godot officially supports x86 on all desktop platforms (both 32-bit and 64-bit where available) and has official ARM support on macOS, Linux, mobile platforms, and standalone Oculus platforms (both 32-bit and 64-bit where available). The web platform uses 32-bit WebAssembly. Support for RISC-V and PowerPC Linux is unofficial and experimental.

Scripting

Godot supports a variety of programming languages for making games, including the integrated language GDScript, C++ and C#. Additionally, the engine includes GDNative, a facility for creating bindings with other languages. Officially-supported GDNative languages include C and C++. Community-supported languages include Rust, Nim, Haskell, Clojure, Swift, and D. Visual coding is also supported, via the open-source third-party language Orchestrator.[10] Visual coding was originally supported by the built-in language VisualScript, designed to be a visual equivalent to GDScript. VisualScript was removed from the core engine in Godot 4.0. Godot games running in the browser can interface with the browser's JavaScript code.

The Godot editor includes a text editor with auto indentation, syntax highlighting and code completion and folding. It also features a debugger with the ability to set breakpoints and program stepping.

GDScript

GDScript
Paradigm:Object-oriented
Developer:Godot Community
Typing:Dynamic, Duck
Influenced By:C, C++, Python
Operating System:Cross-platform (multi-platform)
Website:docs.godotengine.org
File Ext:.gd

Godot has its own built-in scripting language, GDScript, a high-level, gradually typed programming language which is syntactically similar to Python. Unlike Python, GDScript is optimized for Godot's scene-based architecture and can specify strict typing of variables. Godot's developers have stated that many alternative third-party scripting languages such as Lua, Python, and Squirrel were tested before deciding that using a custom language allowed for superior optimization and editor integration. In version 4.0, a new feature called Typed array was implemented on GDScript. This allows users to easily change a regular array to typed and vice-versa without changing much code.

A simple "Hello world" program can be written like so:func _ready: print("Hello World")

More complex programs, such as generating a Fibonacci sequence, are also possible:func _ready: var nterms = 5 print("Fibonacci sequence:") for i in range(nterms): print(fibonacci(i))

func fibonacci(n): if n <= 1: return n else: return fibonacci(n - 1) + fibonacci(n - 2)

Rendering

Godot's graphics engine uses OpenGL ES 3.0 for all supported platforms; otherwise, OpenGL ES 2.0 is used. Vulkan is supported starting in version 4.0 and also includes the possibility of support for Metal using MoltenVK. The engine supports normal mapping, specularity, dynamic shadows using shadow maps, baked and dynamic global illumination, and full-screen post-processing effects like bloom, depth of field, high-dynamic-range rendering, and gamma correction. A simplified shader language, similar to GLSL, is also incorporated. Shaders can be used for materials and post-processing. Alternatively, they can be created by manipulating nodes in a visual editor.

Godot also includes a separate 2D graphics engine that can operate independently of the 3D engine, but both can also work at the same time on the same display, so as to make complex mixes between 2D and 3D. The 2D engine supports features such as lights, shadows, shaders, tile sets, parallax scrolling, polygons, animations, physics, and particles. It is also possible to mix 2D and 3D using a 'viewport node'.

Other features

Godot contains an animation system with a GUI for skeletal animation, blending, animation trees, morphing, and real-time cutscenes. Almost any variable defined or created on a game entity can be animated. Godot has its own in-house physics engine, and as of Godot 4.x allows third parties to integrate their own physics via GDExtension. In Godot 3.x, the Bullet physics engine is included and used by default. The Thor Vector Graphics (ThorVG) library allows creating GUIs with vector resources.

History

Closed source era (2001–2014)

Juan 'reduz' Linietsky and Ariel 'punto' Manzur co-founded Codenix in 1999, a game development consulting company. As early as 2001, they began work on an engine then code-named "Larvotor" which was licensed to third-party companies in Argentina.[11] [12] Over the course of the following ten years, the engine was renamed to "Legacy", "NG3D", "Larvita" and finally to "Godot". The name "Godot" was chosen due to its relation to Samuel Beckett's play Waiting for Godot, as it represents the never-ending wish of adding new features in the engine, which would get it closer to an exhaustive product, but never will. Linietsky and Manzur joined OKAM and the company worked with a number of studios in the closed-source era including Square Enix. Linietsky indicated that their work was hampered by political and economic instability in Argentina at the time however.[13]

Free and open source era (2014–present)

By 2014 Linietsky was planning on moving away from Argentina, and he released the source code for Godot to the public on GitHub under the MIT License. Godot joined the Software Freedom Conservancy (SFC) on 4 November 2015. On 22 June 2016, Godot received a $20,000 Mozilla Open Source Support (MOSS) "Mission Partners" award to be used to add WebSockets, WebAssembly and WebGL 2.0 support.

The 3.0 update for Godot involved addressing a long list of desired features which required a major refactor of the engine that had been impossible while under commercial constraints in the closed-source era. With Miguel de Icaza's support, Godot received a $24,000 donation from Microsoft in 2017 to implement C# as a scripting language in Godot. A Patreon was launched, which enabled Linietsky and Verschelde to work on the project full time. The 3.0 version launched in 2018. The 3.1 update added a OpenGL ES 2.0 renderer aimed at mobile hardware, as mobile support for ES 3.0 by manufacturers was then limited.[14]

In 2019 two teams were formed, with Linietsky's team focusing on the Vulkan branch (later released as 4.0) and Verschelde's team covering further updates to the 3.x branch. Linietsky indicated that part of the issue was that the 3.x branch was built with older architectural principles in mind, such as single-core processors. Thus, the intention was to redevelop the core architecture for 4.0 and account for modern principles.[15] In 2020, Godot received a $250,000 Epic Games award to improve graphics rendering and the engine's built-in game development language, GDScript, which was used to pay Linietsky and George Marques for two years while freeing donation money for other purposes. Godot also received grants from Meta Platforms' Reality Labs in 2020 and 2021.[16] [17] [18] The 4.0 branch released in alpha form in early 2022, and was polished over the course of the year.[15] That August, Linietsky and several other members of the Godot team established W4 Games to offer commercial services based on the engine, including console ports that cannot be included in its open-source codebase.[19] [8] In November, Godot announced plans to transition from the SFC to its own newly-formed Godot Foundation.[20] [21]

The full release of the 4.0 update with Vulkan support occurred in 2023, as well as the arrival of the Godot engine on the Epic Games Store. The version on Epic is identical to others in terms of both content and licensing, with the storefront simply used as a means of distribution and for updating.[22] However, the .NET/C# support version of the engine is not available on Epic Games Store, nor Itch and Steam as well.[23] In September, Unity Technologies announced major changes to licensing for the Unity engine including the addition of "runtime fees" that would charge users on installation of Unity games. As a result, Re-Logic donated $100,000 to Godot, and further announced that it would be donating $1,000 a month going forward, in the interest of supporting an open-source alternative to Unity.[24]

Version history

Godot reached version 1.0 on 15 December 2014, marking the first stable release and the addition of lightmapping, navmesh support, and more shaders. Version 1.1 was released on 21 May 2015, adding improved auto-completion in the code editor, a visual shader editor, a new API to the operating system for managing screens and windows, improved 2D physics and a rewritten 2D engine, better Blender Collada support, and a new dark theme.

Godot 2.0 was released on 23 February 2016, adding better scene instancing and inheritance, a new file system browser, multiple scene editing, and an enhanced debugger. This was followed by version 2.1 in August 2016, which introduced an asset database, profiler, and plugin API.

Godot 3Version 3.0 was released on 29 January 2018, adding a new PBR renderer implemented in OpenGL ES 3.0, virtual reality compatibility, and C# support (via Mono) thanks to a $24,000 donation from Microsoft.[25] Version 3.0 also added the Bullet physics engine in addition to the engine's built-in 3D physics back end and was the first version of Godot to be included in Debian.

Godot 3.1 was released on 13 March 2019, with the most notable features being the addition of statically typed, a script class system for GDScript, and an OpenGL ES 2.0 renderer. Godot 3.2 was released on 29 January 2020, with the most notable features being massive documentation improvements, greatly improved C# support, and support for glTF 2.0 files.

The lead developer, Juan Linietsky, spent most of his time working on a separate Vulkan branch that would later be merged into master for 4.0, so work on 3.2 was mostly done by other contributors. Work on 3.2 continued as a long-term support release for a year, including Godot 3.2.2 on 26 June 2020, a large patch release that added features such as OpenGL ES 2.0 batching, and C# support for iOS. On 17 March 2021, the versioning strategy was changed to better reflect semantic versioning, with a 3.3 stable branch and a 3.x branch for backporting features to a future 3.4 release.

Godot 3.3 was released on 21 April 2021, with features such as ARM support on macOS, Android App Bundles support, MP3 support, Autodesk FBX support, WebXR support, and a web editor.

Godot 3.4 was released on 6 November 2021 after six months of development, implementing missing features or bug fixes that are critical for publishing 2D and 3D games with Godot 3 and making existing features more optimized and reliable.

Godot 4Godot 4 was released on 1 March 2023. It is a major update that overhauls the rendering system, adds support for Vulkan graphics API, improves GDScript performance and usability, enhances physics and animation systems, and introduces many other features and bug fixes. The development of Godot 4 started in 2019 with a rewrite of the renderer to use Vulkan by Linietsky. In 2020, several contributors joined the development team and worked on various aspects of Godot 4, such as GDScript improvements, physics engine overhaul, animation system rewrite, editor usability enhancements and more.

The first alpha version of Godot 4 was released for testing by early adopters in January 2022.[26] It included new features such as SDF-based global illumination, GPU-based particles, and dynamic soft shadows. In September 2022, Godot 4 reached beta stage with improved stability and performance.[27] It also added support for WebXR, C# support for Android and iOS, and new audio features. On 1 March 2023, Godot 4 was officially released as a stable version after several beta builds and bug fixes. It enhanced graphics quality, rendering optimization techniques, and added accessibility features. This was followed by Godot 4.1 later in 2023, which added experimental scene multithreading, editor enhancements, and C# improvements.

Release history

Release date! Notes! scope="col" style="width: 6.2em;"
Latest patch release
December 2014First stable release1.0
May 2015Added improved auto-completion in the code editor, a visual shader editor, a rewritten 2D engine, and new 2D navigation polygon support.1.1
February 2016Updated UI and added an enhanced debugger.2.0.4.1
July 2016Introduced an asset database, profiler, and plugin API.2.1.6
January 2018Added a new PBR renderer and Mono (C#) support. Added Bullet as the default physics engine.3.0.6
March 2019Added statically typed GDScript, a script class system for GDScript, and an OpenGL ES 2.0 renderer.3.1.2
January 2020Added support for glTF 2.0 files, OpenGL ES 2.0 batching, C# support for iOS, and massive documentation improvements.3.2.3
April 2021Added ARM support on macOS, Android AAB support, MP3 support, FBX support, WebXR support, and a web editor.3.3.4
November 2021Added a new theme editor, ACES Fitted tonemapper, PWA support, physical input support, and glTF 2.0 export support.3.4.5
August 2022Added editor support on Android, asynchronous shader compilation, physics interpolation, material overlay, and improved the navigation system.3.5.3
TBC[28] The next minor release for Godot 3.x. Feature set still a work in progress. Adds transparent object sorting in 3D. Will be released after 4.0 with LTS.3.6 RC 1[29]
March 2023Adds support for the Vulkan graphics API. Switches from Mono to .NET 6 CoreCLR. Introduces SDF-based global illumination, along with several editor changes and performance optimizations.4.0.3
July 2023Added experimental scene multithreading, editor enhancements, and C# improvements.4.1.4[30]
November 2023Rework of animation tool and particle system, added GDExtension feature, improvement on import pipeline, support for FSR 2.2.[31] 4.2.2
August 2024[32] GPU synchronization via acyclic graphs, render pipeline compositor effects, improved 3D animation retargeting.[33] 4.3

Usage

Many games by OKAM Studio have been made using Godot, including Dog Mendonça & Pizza Boy, which uses the Escoria adventure game extension. Additionally, it has been used in West Virginia's high school curriculum, due to its ease of use for non-programmers and already-existing learning materials. The creator of RPG Maker, Gotcha Gotcha Games have announced plans to use Godot for its own new game creation system (which will be a successor to 2018's Pixel Game Maker MV). The new system, Action Game Maker, is planned for release in 2025.[34]

Notable video games made with Godot

Year of releaseTitleDeveloperNotes
2015/2016Deponia[35] [36] Daedalic EntertainmentiOS and PlayStation 4 ports
2016The Interactive Adventures of Dog Mendonça & PizzaboyOKAM Studio
2018Hardcoded[37] Ghosthug Games
2019Commander Keen in Keen Dreams[38] Id Software/Lone Wolf TechnologyFirst Nintendo Switch port only,
not to be confused with the Definitive Edition.
2021Cruelty Squad[39] [40] Consumer Softproducts
[41] Sonic Team/Blind Squirrel Games
20212022Carol Reed Mysteries series[42] MDNA Games
2022Dome Keeper[43] Bippinbits
The Case of the Golden Idol[44] Color Gray Games
2023Cassette BeastsBytten Studio
Luck Be a Landlord[45] TrampolineTales
BrotatoBlobfish
Buckshot Roulette[46] Mike Klubnika
2024Until Then[47] Polychroma Games
2025Slay the Spire 2[48] Mega Crit
[49] Pistol Shrimp Games

See also

External links

Notes and References

  1. Web site: Hill . Paul . 2023-05-19 . Godot Engine arrives on Epic Games Store making it easier to download . 2023-05-19 . Neowin . en.
  2. Web site: 2022-02-05 . The 5 Best Game Engines for Beginners in Video Game Development . 2023-05-19 . MUO . en.
  3. Web site: Dealessandri . Marie . 2020-04-15 . What is the best game engine: is Godot right for you? . 2023-05-19 . GamesIndustry.biz . en.
  4. Web site: Verschelde . Rémi . 2022-08-05 . Godot Engine - Godot 3.5: Can't stop won't stop . 2022-09-14 . Godot Engine . en.
  5. Web site: Godot 4.0 sets sail: All aboard for new horizons . 2023-03-01 . Godot Engine . en.
  6. Web site: Third-party support . Godot Docs . 25 September 2023.
  7. Web site: Console Support. 2021-05-09. Godot Documentation. en.
  8. Web site: How W4 plans to monetize the Godot game engine using Red Hat's open source playbook . Sawers . Paul . August 19, 2022 . Techcrunch.com . September 7, 2023 . Put simply, Godot can’t be a community-driven open source project and support consoles at the same time. But there are ways around this, which is why W4 hopes to make money by offering a porting service to help developers convert their existing games into a console-compatible format..
  9. Web site: W4 Games Unveils W4 Consoles A Practical Console Porting Solution For Game Developers . August 6, 2023 . W4Games.com . September 7, 2023.
  10. Web site: 2024-02-27 . Orchestrator – Visual Scripting For Godot . 2024-03-16 . GameFromScratch.com . en.
  11. Web site: June 25, 2014 . Codenix | Game Development & Technology Consulting . https://web.archive.org/web/20140625091420/http://www.codenix.com/ . June 25, 2014 . July 31, 2023 . Codenix.
  12. Linietsky . Juan . reduzio . 998185981101658113 . May 20, 2018 . Codenix was the company Ariel Manzur and I created. Engines such as Unity were not mainstream, so we licensed Godot to third party companies in Argentina. . en . July 31, 2023.
  13. Web site: A decade in retrospective and future .
  14. Web site: Godot 3.1 is out, improving usability and features. Godot Engine.
  15. Web site: 2022: A Retrospective .
  16. Web site: 11 December 2020 . Godot Engine - Godot Engine receiving support funded by Facebook Reality Labs . Godot Engine . en.
  17. Web site: 22 December 2021 . Godot Engine - Godot Engine receiving a new grant from Meta's Reality Labs . Godot Engine . en.
  18. Web site: Godot Engine received a fresh grant from Facebook / Meta for XR work . 2022-07-15 . GamingOnLinux . 22 December 2021 . en.
  19. Web site: Dawe . Liam . W4 Games formed to help developers using Godot Engine . GamingOnLinux . 8 September 2023 . en . 9 August 2022.
  20. Web site: 1 November 2022 . Announcing Godot's Graduation from SFC! . Software Freedom Conservancy . en.
  21. Web site: 1 November 2022 . Godot's Graduation: Godot moves to a new Foundation . Godot Engine . en.
  22. Web site: Godot Arrives in the Epic Games Store .
  23. Web site: Download Godot .
  24. Web site: Terraria developer Re-Logic is giving $100,000 to two open-source game engines amid Unity debacle . Engadget . 20 September 2023.
  25. Web site: Introducing C# in Godot . 2023-02-15 . Godot Engine . en.
  26. Web site: Major milestone ready for testing: Godot 4.0 alpha 1 is out! . 2023-03-06 . Godot Engine . en.
  27. Web site: The next big step: Godot 4.0 reaches Beta . 2023-03-06 . Godot Engine . en.
  28. Web site: 3.6 Milestone · godotengine/godot . 2024-01-11 . GitHub . en.
  29. Web site: 2024-07-09 . Release candidate: Godot 3.6 RC 1 . 2024-08-16 . Godot Engine . en.
  30. Web site: Engine . Godot . Maintenance release: Godot 4.2.2 & 4.1.4 . 2024-01-05 . Godot Engine . en.
  31. Web site: 30 November 2023 . Godot 4.2 arrives in style! . 30 November 2023 . Godot Engine.
  32. Web site: Engine . Godot . Godot 4.3, a shared effort . 2024-08-16 . Godot Engine . en.
  33. Web site: 15 August 2024 . Godot 4.3, a shared effort . 15 August 2024 . Godot Engine.
  34. News: Writer . Nic Reuben Staff . Reuben . Nic . 2024-07-12 . Action Game Maker is RPG Maker’s sprintier, jumpier sibling . 2024-07-13 . Rock, Paper, Shotgun . en.
  35. Web site: Godot 2.0: Talking with the Creator . 80lv . 4 March 2016 . 2023-08-07.
  36. Web site: Deponia Powered by @godotengine :D . Twitter . Godot Engine . 2023-08-07.
  37. Web site: Hardcoded For Success: A Chat With Kenzie Wintermelon. Pfau. Nola. 2018-04-16. Sidequest. en-US. 2020-04-24.
  38. Web site: Commander Keen in Keen Dreams . . 2019-02-07.
  39. Web site: Cruelty Squad . Godot Showcase . Godot Engine . 2023-08-03 . Godot Showcase Cruelty Squad.
  40. Web site: Klepek . Patrick . Good Luck Finding a Stranger, More Interesting Game in 2021 Than 'Cruelty Squad' . Vice.com . 7 September 2021 . 18 September 2023.
  41. Web site: Yin-Poole . Wesly . September 4, 2021 . Sonic Colours: Ultimate players report graphics glitches and bugs . live . https://web.archive.org/web/20210905110737/https://www.eurogamer.net/articles/2021-09-04-sonic-colours-ultimate-on-nintendo-switch-looks-like-a-bit-of-a-mess . 5 September 2021 . September 6, 2021 . Eurogamer.
  42. Web site: Ploeger . Dennis . Announcing EgoVenture . DEV Community . 28 March 2021 . https://web.archive.org/web/20210328074123/https://dev.to/dploeger/announcing-egoventure-12nd . 28 March 2021 . 27 March 2021 . live.
  43. Web site: Dome Keeper . Godot Showcase . Godot Engine . 2023-08-03 . Godot Showcase Dome Keeper.
  44. Web site: Linietsky . Juan . 31 December 2022 . Godot Engine - 2022: A Retrospective . 6 August 2023 . Godot Engine . en.
  45. Web site: Dawe . Liam . Luck be a Landlord gives slot machines a little deck-building flavour . GamingOnLinux . 15 March 2021 . 2023-08-03 . GamingOnLinux Luck be a Landlord.
  46. 1740438078916067615 . mikeklubnika . Sick, thanks a lot for playing man :). Yeah this is all Godot! . Mike . Klubnika . 2023-12-28 . August 3, 2024 . https://web.archive.org/web/20240131183801/https://twitter.com/mikeklubnika/status/1740438078916067615 . 2024-01-31 . live.
  47. Web site: Until Then . 2024-07-11 . Godot Engine . en.
  48. Web site: Bailey . Kat . Slay the Spire 2 Officially Announced, Won't be in Unity . IGN . 11 April 2024 . en . 10 April 2024.
  49. Web site: Gerstein . Dan . No Longer Waiting for Godot . Pistol Shrimp Games . April 17, 2024.