Godot (game engine)

From Wikipedia, the free encyclopedia
  (Redirected from GDScript)
Jump to navigation Jump to search
Godot Engine
Godot logo.svg
A screenshot of the editor in Godot 3.1
A screenshot of the editor in Godot 3.1
Original author(s)Juan Linietsky, Ariel Manzur
Initial release14 January 2014; 5 years ago (2014-01-14)[1]
Stable release
3.1.2 / 29 November 2019; 10 days ago (2019-11-29)[2]
Preview release
3.2 beta 1 / 6 November 2019; 33 days ago (2019-11-06)
Repository Edit this at Wikidata
Written inC, C++[3]
Operating systemWindows, macOS, Linux[4]
PlatformLinux, macOS, Windows, iOS, Android, HTML5, Xbox One, Universal Windows Platform
Available inMultilingual
TypeGame engine
LicenseMIT License
Websitegodotengine.org Edit this at Wikidata

Godot is a 2D and 3D, cross-platform, free and open-source game engine released under the MIT license. It was initially developed for several companies in Latin America prior to its public release.[5] The development environment runs on Linux, macOS, and Windows. Godot can create games targeting the PC, mobile and web platforms.

Overview[edit]

Godot aims to offer a fully integrated game development environment. It allows developers to create a game from scratch needing no other tools beyond those used for content creation (art assets, music etc.). The architecture is built around a concept of a tree of nested "scenes". All game resources, from scripts to graphical assets, are saved as part of the computer's file system (rather than in a database). This storage solution is intended to make it easier for game development teams to collaborate on script code using version control.[6]

The engine supports deployment to multiple platforms, and allows specification of texture compression and resolution settings for each platform. Currently, supported platforms include Linux, macOS, Windows, FreeBSD[7], OpenBSD / DragonFly BSD,[8] Android, iOS, BlackBerry 10 and HTML5.[9] There is also Windows Runtime (WinRT) and Universal Windows Platform (UWP) support.[10]

Scripting[edit]

Godot games are created either in C++, C#, languages with GDNative bindings such as Rust, Nim, D, or by using its own scripting language, GDScript,[11] a high-level, dynamically typed programming language very similar to Python. Contrary to Python, GDScript features strict typing of variables and is optimized for Godot's scene-based architecture. Godot's developers have stated that many alternative third-party scripting languages (namely, Lua, Python and Squirrel) were tested before deciding that using a custom language allowed for superior optimization and editor integration.[12]

The engine's editor includes a script editor with auto indentation, syntax highlighting and code completion. It also features a debugger with the ability to set breakpoints and program stepping.

Rendering[edit]

The graphics engine uses OpenGL ES 3.0[13] for all supported platforms; otherwise, OpenGL ES 2.0 is used. Future support for Vulkan is also planned. It supports normal mapping, specularity, dynamic shadows using shadow maps and full-screen post-processing effects like FXAA, bloom, DOF, HDR, 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.

There is also a separate 2D graphics engine, which can operate independently of the 3D one. Examples of 2D engine features include 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[edit]

Godot contains an animation system with a GUI for editing skeletal animation, blending, animation trees, morphing and realtime cutscenes. Almost any variable defined or created-on-a-game entity can be animated.[14] The engine uses Bullet for 3D physics simulation.[15]

Additional features include:

History[edit]

Godot development was started by Juan 'reduz' Linietsky and Ariel 'punto' Manzur in 2007.[16][17] Linietsky stated in a presentation that 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.[18] In February 2014, the source code for Godot was released to the public on GitHub under the MIT License.[19]

On 15 December 2014, Godot reached version 1.0, marking the first stable release and the addition of lightmapping, navmesh support and more shaders.[20] Version 1.1 replaced it on 21 May 2015, adding improved auto-completion in the code editor, a visual shader editor, a new API to the OS for managing the screens and window, a rewritten 2D engine, new 2D navigation polygon support, a much improved Blender Collada exporter and a new dark theme.[21] The then-new 2D engine includes shaders, materials, independent Z ordering per node, lights, shadows with polygonal occluders, normal mapping, and distance-field font support. Godot joined the Software Freedom Conservancy shortly afterwards, on 4 November 2015.[22]

Godot 2.0 reached stability on 23 February 2016. New features included better scene instancing and inheritance, a new file system browser, multiple scene editing, and an enhanced debugger.[23][5] This was followed by version 2.1 in August 2016, which introduced an asset database, profiler, and plugin API.[24]

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.[9]

Version 3.0 was released on 29 January 2018, adding improved 3D rendering, VR compatibility, and C# (via Mono) support.[15] It also replaced the engine's former built-in 3D physics back end with the Bullet physics engine. Version 3.0 was also the first version of Godot to be included in Debian.

Usage[edit]

Many games by OKAM Studio have been made using Godot, including Dog Mendonça & Pizza Boy, which uses the Escoria adventure game extension.[25] Additionally, it has been used in West Virginia's high school curriculum, due to its ease-of-use for non-programmers and what is described as a "wealth of learning materials that already exist for the software".[26]

See also[edit]

References[edit]

  1. ^ Linietsky, Juan (14 January 2014). "Godot Engine - First public release!". Godot Engine. Retrieved 2019-07-01.
  2. ^ Verschelde, Rémi (29 November 2019). "Maintenance release: Godot 3.1.2". Retrieved 30 November 2019.
  3. ^ "The Godot Game Engine Open Source Project on Open Hub". Retrieved 30 July 2015.
  4. ^ "Download Godot Engine". godotengine.org. Retrieved 30 September 2019.
  5. ^ a b Linietsky, Juan. "Godot 2.0: Talking with the Creator". 80.lv. Retrieved 18 June 2016.
  6. ^ "File system". Getting started. Godot Docs. Retrieved 2019-07-20.
  7. ^ "FreshPorts – devel/godot". Retrieved 29 December 2017.
  8. ^ "DPorts/devel/godot at master · DragonFlyBSD/DPorts · GitHub". Retrieved 29 December 2017.
  9. ^ a b "Mozilla Awards $385,000 to Open Source Projects as part of MOSS "Mission Partners" Program". The Mozilla Blog. Retrieved 17 October 2016.
  10. ^ "Compiling for Universal Windows Apps". Development. Godot Docs. Retrieved 2019-07-20.
  11. ^ GDScript
  12. ^ "GDScript basics: History". Getting started. Godot Docs. Retrieved 2019-07-20.
  13. ^ Linietsky, Juan (26 February 2018). "Moving to Vulkan (and ES 2.0) instead of OpenGL ES 3.0". Retrieved 28 July 2019.
  14. ^ "Animations". Getting started. Godot Docs. Retrieved 2019-07-20.
  15. ^ a b Larable, Michael (29 January 2018). "Godot 3.0 Open-Source Game Engine Released". Phoronix. Retrieved 30 January 2018.
  16. ^ StraToN. "SteamLUG Cast". Retrieved 18 June 2016.
  17. ^ reduz. "Godot history in images!". Retrieved 18 June 2016.
  18. ^ "Juan Linietsky presentation of Godot at RMLL 2015 in Beauvais, France". 7 July 2015. 46 minutes in.
  19. ^ liamdawe (14 February 2014). "Godot Game Engine Is Now Open Source".
  20. ^ Linietsky, Juan (15 December 2014). "Godot Engine Reaches 1.0, Releases First Stable". Godot Engine. Retrieved 2019-07-01.
  21. ^ Linietsky, Juan (21 May 2015). "Godot 1.1 Out!!". Godot Engine. Retrieved 2019-07-01.
  22. ^ "Godot Game Engine is Conservancy's Newest Member Project". Retrieved 13 November 2015.
  23. ^ Linietsky, Juan (23 February 2016). "Godot Engine Reaches 2.0 Stable". Godot Engine. Retrieved 2019-07-01.
  24. ^ Linietsky, Juan (9 August 2016). "Godot Reaches 2.1 Stable". Godot Engine. Retrieved 2019-07-01.
  25. ^ Suckley, Matt (15 August 2015). "OKAM Studio on empowering designers with Godot Engine's adventure game framework Escoria". PocketGamer.biz. Retrieved 29 December 2017.
  26. ^ Brasseur, Vicky (16 August 2016). "Godot open source game engine helps power the future in West Virginia". Opensource.com. Retrieved 29 December 2017.

External links[edit]