Defold

Last updated
Defold
Original author(s) Christian Murray, Ragnar Svensson
Developer(s) Defold Foundation
Stable release
1.7.0 [1]   OOjs UI icon edit-ltr-progressive.svg [2] / 11 March 2024;28 days ago (11 March 2024)
Repository https://github.com/defold/defold
Written in C++
Middleware Box2D
Operating system Windows, macOS, Linux
Platform Windows
Linux
macOS
HTML5
iOS
Android
Nintendo Switch
PlayStation 4
PlayStation 5
Size 300 MB (Editor)976 kB (Build)
Available in English
Type Game engine
License Defold License (Source Available) [3] [4]
Website defold.com

Defold is a cross-platform, free, and source-available game engine developed by King, and later the Defold Foundation. [5] [6] [4] [7] It is used to create mostly two-dimensional (2D) games, [8] but is fully capable of three-dimensional (3D) as well. [9] [10]

Contents

Defold is a downloadable desktop app, and ships with its own embedded IDE. Defold targets desktop, mobile, web, and console platforms. The development model of the maintainers (Source-available) keeps the engine free to use, because it is maintained by its community. [5] [9] [11] Defold has over 30,000 users, and has been used to publish over 100 games. [12] Exported games with Defold typically use less than 100kB RAM [13] and very small bundle sizes, less than 2 MB, [14] due to the Engine's modularization and efficient core. [12] [15]

Features

Defold uses Lua for scripting, [13] but also allows native extensions, written in C, C++, and target-specific native languages. Defold projects are organized as collections, which consist of a hierarchy of game objects containing in-game entities. Scripting between game objects is handled using the message-passing paradigm, which allows scripts to intercommunicate in call-response and event-based models. [16] Defold's IDE natively supports in-editor Git tracking. [17] [18]

Supported platforms

The Defold editor can be run on three platforms and natively supports targeting eight platforms. [5] Defold supports exports for:

The editor is currently supported on:

Scripting and editor

Users communicate with the engine via a Lua API. [16] LuaJIT is used on all platforms except HTML and just-in-time compilation is enabled on permitted platforms. Users can extend the engine using C, C++, Java, Objective-C, and JavaScript for platform-specific or more performant code. In addition, the community maintains TypeScript [21] and Haxe [22] bindings. Scripts are platform-agnostic.

The editor includes a visual scene editor, debugger, asset management, tilemap editor, and all templates required for bundling the game. [16] Newer versions support hot-reloading, to make changes to assets and scripts without rebuilding the project.

Rendering

The render pipeline can be customized via a render script API, which can be translated into OpenGL, OpenGL ES, Vulkan, [23] or Metal (via MoltenVK) depending on the user's needs. Shaders can be written in GLSL for various post-processing effects. [16]

Engine extensions

Defold has support for extensions, which are plugins that extend the engine, where users can integrate auxiliary solutions into their projects. There are libraries for simplifying game systems, interacting with hardware, and integration with third-party software. Both the Defold Foundation and the community host their extensions on the Defold Asset Portal. [24]

History

Defold was created in 2008 [25] [26] by Christian Murray and Ragnar Svensson [5] [27] as a side-project while they were working at Avalanche Studios, and later as a full time business before being acquired by King in 2014. [5] Defold was developed and used internally at King for a few years before the decision was made to make Defold available to developers outside of King. [9] [28] The announcement and release of Defold as a free to use game engine was made at the Game Developers Conference in San Francisco in March 2016. [29] Some mobile developers expressed concern about King's long term intentions for the engine, as well as the lack of a clear business goal. [30] Development has continued with bi-weekly [13] incremental releases of the engine and editor, with a major milestone being the release of the new editor in 2017. [15] Defold was nominated for best engine in the 2018 Develop Awards, the 2018 and 2019 Mobile Games Awards. [31] [32] [33]

In 2020, the Defold Foundation was established to oversee the development and stewardship of the engine, ensuring its independence from any single entity. [5] In the process, the source code for the engine was made public. [34] King released the source on GitHub as open source game engine, but community of developers questioned the choice of license, as it was initially unclear. Many assumed it was released under an Apache 2.0 - popular open source license. However, King had used a custom license that prevented commercialization of the Defold editor, so that Defold would always remain free for developers to use, calling into question whether it could be considered open source as defined by the Free Software Foundation and the Open Source Initiative. [11] [6] [35] Shortly after, Defold added support for Nintendo Switch target platform exports. [36]

Licensing

Defold is released under the "Defold License", derived from the Apache License, Version 2.0. The engine is "source available" and developers can access the engine's source code on GitHub. [4] The "Defold License" license permits any use of the code except for the sale of the Defold engine itself, but games made can be distributed freely, without royalties or restrictions. [35] [10]

Funding

The Defold Foundation is funded entirely by community donations and corporate partnerships. [4] [37] The Defold engine is maintained by both the Defold foundation and open source developers. [38] [39] [40]

Related Research Articles

<span class="mw-page-title-main">Torque (game engine)</span> 3D computer game engine

Torque Game Engine, or TGE, is an open-source cross-platform 3D computer game engine, developed by GarageGames and actively maintained under the current versions Torque 3D as well as Torque 2D. It was originally developed by Dynamix for the 2001 first-person shooter Tribes 2. In September 2012, GarageGames released Torque 3D as open-source software under the MIT License.

<span class="mw-page-title-main">Unity (game engine)</span> Cross-platform video game and simulation engine

Unity is a cross-platform game engine developed by Unity Technologies, first announced and released in June 2005 at Apple Worldwide Developers Conference as a Mac OS X game engine. The engine has since been gradually extended to support a variety of desktop, mobile, console, augmented reality, and virtual reality platforms. It is particularly popular for iOS and Android mobile game development, is considered easy to use for beginner developers, and is popular for indie game development.

Kongregate is an American web gaming portal and video game publisher. Its website features over 124,000 online games and 30+ mobile games available to the public. The company also publishes games for PC, mobile, and home consoles. It was purchased by GameStop Corporation in 2010 before being acquired by Modern Times Group MT AB in 2017.

Cocos2d is an open-source game development framework for creating 2D games and other graphical software for iOS, Android, Windows, macOS, Linux, HarmonyOS, OpenHarmony and web platforms. It is written in C++ and provides bindings for various programming languages, including C++, C#, Lua, and JavaScript. The framework offers a wide range of features, including physics, particle systems, skeletal animations, tile maps, and others.

<span class="mw-page-title-main">Solar2D</span>

Solar2D is a free and open-source, cross-platform software development kit originally developed by Corona Labs Inc. and now maintained by Vlad Shcherban. Released in late 2009, it allows software programmers to build 2D mobile applications for iOS, Android, and Kindle, desktop applications for Windows, Linux and macOS, and connected TV applications for Apple TV, Fire TV and Android TV.

Virtuos is a global video game development company headquartered in Singapore with studios across Asia, Europe, and North America. Virtuos specializes in game development and art production for AAA consoles, PC, and mobile titles – working as an external developer for other companies.

<span class="mw-page-title-main">Away3D</span>

Away3D is an open-source platform for developing interactive 3D graphics for video games and applications, in Adobe Flash or HTML5. The platform consists of a 3D world editor, a 3D graphics engine, a 3D physics engine and a compressed 3D model file format (AWD).

Emscripten is an LLVM/Clang-based compiler that compiles C and C++ source code to WebAssembly, primarily for execution in web browsers.

<span class="mw-page-title-main">Godot (game engine)</span> Cross-platform, open-source game engine

Godot is a cross-platform, free and open-source game engine released under the permissive MIT license. It was initially developed 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.

<span class="mw-page-title-main">PlayCanvas</span>

PlayCanvas is an open-source 3D game engine/interactive 3D application engine alongside a proprietary cloud-hosted creation platform that allows for simultaneous editing from multiple computers via a browser-based interface. It runs in modern browsers that support WebGL, including Mozilla Firefox and Google Chrome. The engine is capable of rigid-body physics simulation, handling three-dimensional audio and 3D animations.

<span class="mw-page-title-main">OpenFL</span> Software framework for video games

OpenFL is a free and open-source software framework and platform for the creation of multi-platform applications and video games. OpenFL applications can be written in Haxe, JavaScript, or TypeScript, and may be published as standalone applications for several targets including iOS, Android, HTML5, Windows, macOS, Linux, WebAssembly, Flash, AIR, PlayStation 4, PlayStation 3, PlayStation Vita, Xbox One, Wii U, TiVo, Raspberry Pi, and Node.js.

<span class="mw-page-title-main">Visual Studio Code</span> Source code editor developed by Microsoft

Visual Studio Code, also commonly referred to as VS Code, is a source-code editor developed by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add functionality.

<span class="mw-page-title-main">Amazon Lumberyard</span> Cross-platform triple-A game engine

Amazon Lumberyard is a now-superseded freeware cross-platform game engine developed by Amazon and based on CryEngine, which was licensed from Crytek in 2015. In July 2021, Amazon and the Linux Foundation announced that parts of the engine would be used to create a new open source game engine called Open 3D Engine, which would replace it. A new Open 3D Foundation, run by the Linux Foundation, will manage the new engine, which will be licensed under the open source Apache 2.0 license. The new engine is reportedly partially based on Lumberyard but with many parts rewritten, and is considered a new engine.

Stride is a free and open-source 2D and 3D cross-platform game engine originally developed by Silicon Studio. It can be used to create video games for PC, mobile devices and virtual reality.

LÖVE is a free, open-source, cross-platform framework released under the zlib license for developing video games. The framework is written in C++ and uses Lua as its scripting language and is still maintained by its original developers. The framework is cross-platform supporting the platforms Microsoft Windows, macOS, Linux, Android, and iOS.

<span class="mw-page-title-main">GDevelop</span> Open-source, cross-platform game engine

GDevelop is a 2D and 3D cross-platform, free and open-source game engine, which mainly focuses on creating PC and mobile games, as well as HTML5 games playable in the browser. Created by Florian Rival, a software engineer at Google, GDevelop is mainly aimed at non-programmers and game developers of all skillsets, employing event based visual programming similar to engines like Construct, Stencyl, and Tynker.

Homa is an international video game developer and publishing company based in Paris, France with a primary focus on developing video games, mainly for mobile on both Android and iOS.

References

  1. "Release 1.7.0". 11 March 2024. Retrieved 26 March 2024.
  2. "Вышла новая версия движка Defold — 1.5". App2top.ru (in Russian). 2023-09-04. Retrieved 2023-09-20.
  3. "The Defold License". Defold.com.
  4. 1 2 3 4 Kerr, Chris (2020-05-19). "King has opened up and relinquished control of the Defold game engine". Game Developer. Retrieved 2023-09-19.
  5. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Kamen, Matt (2016-03-22). "Candy Crush studio King releases Defold game development engine for free". Wired.co.uk. Retrieved 2023-09-22.
  6. 1 2 Cowley, Ric (2020-05-19). "King is making its Defold game engine open source". Pocketgamer.biz. Retrieved 2023-09-19.
  7. 1 2 "Defold: A Grant for the Web Awardee". Grantfortheweb.org. Retrieved 2023-09-19.
  8. Kerr, Chris (2016-03-23). "King's Defold game engine is now available for free". Game Developer. Retrieved 2023-09-20.
  9. 1 2 3 4 "Here's why King gave away its 2D mobile game engine Defold". VentureBeat. 2016-03-19. Retrieved 2023-09-19.
  10. 1 2 Orremark, Kim (2017-08-29). "Vi kollar in spelmotorn Defold". Gamereactor Sverige (in Swedish). Retrieved 2023-09-20.
  11. 1 2 Hunter, Tatum (2020-10-27). "Is It Time to Leave Open Source Behind?". Builtin.com. Retrieved 2023-09-19.
  12. 1 2 "『キャンディークラッシュ』のKingが提供する2D開発特化ゲームエンジン"Defold"とは? | ファミ通App【スマホゲーム情報サイト】". ファミ通App (in Japanese). 2017-04-11. Retrieved 2023-09-20.
  13. 1 2 3 株式会社インプレス (2017-04-14). "【特別企画】Kingがゲームエンジン「DEFOLD」を無償公開するワケ 2Dにフォーカスしたゲームエンジンを開発者向けにブリーフィング". GAME Watch (in Japanese). Retrieved 2023-09-20.
  14. Aueki, Aetas (2016-03-17). "[GDC 2016]「キャンディークラッシュ」のKingが公開した完全無料のゲームエンジン「Defold」とは?". 4Gamer.net (in Japanese). Retrieved 2023-09-20.
  15. 1 2 Pearson, Dan (2016-06-10). "The King Maker". GamesIndustry.biz. Retrieved 2023-09-20.
  16. 1 2 3 4 Hillyard, David (2020-06-11). Documenting Defold Programming Projects. CRAIGNDAVE Limited. pp. 10–12. ISBN   979-8649775151.[ self-published source ]
  17. "King releases Defold game engine for free". MCV. 2016-03-22. ISSN   1469-4832 . Retrieved 2023-09-20.
  18. Ксения (2016-03-23). "King бесплатно выпускает игровой движок Defold". AppTractor.ru (in Russian). Retrieved 2023-09-20.
  19. Михайлова, Вероника (2020-06-24). "Игровой движок Defold получил поддержку Nintendo Switch". App2top.ru (in Russian). Retrieved 2023-09-20.
  20. Ritzl, Björn (2024-02-29). "Defold adds support for PlayStation®5". Defold.com. Retrieved 2024-04-07.
  21. "TypeScript support library for Defold". GitHub.
  22. "Haxe support library for the Defold game engine". GitHub.
  23. Isaac (2020-05-22). "Defold: motor gráfico multiplataforma torna-se open source". Linux Adictos (in Portuguese). Retrieved 2023-09-20.[ unreliable source? ]
  24. "Defold Asset portal". Defold.com.
  25. 周思冲 (2016-06-13). "国王守护者Defold:从无人问津到King御用引擎 - 触乐". Chuapp.com (in Chinese). Retrieved 2023-09-20.
  26. Weber, Rachel (2016-03-23). "King makes Defold game engine free". GamesIndustry.biz. Retrieved 2023-09-20.
  27. Riis, Jacob (2016-05-09). "The Story of Defold". Nordic Game Community. Retrieved 2023-09-20.
  28. Suckley, Matt (2016-09-19). "Why King is entering the game engine space with Defold and how it will help other devs launch their games". Pocketgamer.biz. Retrieved 2023-09-22.
  29. "GDC - King presents Defold". GDCVault.
  30. Suckley, Matt (2016-09-27). "What do mobile developers think of King's game engine Defold?". Pocketgamer.biz. Retrieved 2023-09-20.
  31. "Announcing the Develop Awards 2018 nominations shortlist". MCV. 2018-05-21. ISSN   1469-4832 . Retrieved 2023-09-20.
  32. Chapple, Craig (2018-11-23). "Pocket Gamer Mobile Games Awards 2019 finalists revealed". Pocketgamer.biz. Retrieved 2023-09-20.
  33. Chapple, Craig (2017-11-29). "Mobile Games Awards 2018: The finalists revealed". Pocketgamer.biz. Retrieved 2023-09-20.
  34. Batchelor, James (2020-05-19). "King makes Defold engine open source". GamesIndustry.biz. Retrieved 2023-09-20.
  35. 1 2 Fyler, Tony (2022-08-04). "Is Open Source Dying Out?". TechHQ. Retrieved 2023-09-19.
  36. Partleton, Kayleigh (2020-06-25). "The Defold Foundation adds Nintendo Switch support to Defold engine". Pocketgamer.biz. Retrieved 2023-09-20.
  37. "EGDF: UNITY'S INSTALL FEES ARE A SIGN OF LOOMING GAME ENGINE MARKET FAILURE". EGDF - European Games Developer Federation. 2023-09-14. Retrieved 2023-09-19.
  38. Alim (2020-05-26). "Heroic Labs partners with the Defold Foundation to further open-source game development". HeroicLabs.com. Retrieved 2023-09-22.
  39. Ritzl, Björn (2020-08-11). "Melsoft Games partners with the Defold Foundation". Defold.com. Retrieved 2023-09-22.
  40. Ritzl, Björn (2021-02-16). "The Defold Foundation partners with Rive Inc". Defold.com. Retrieved 2023-09-22.