Hubbry Logo
logo
Defold
Community hub

Defold

logo
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something to knowledge base
Hub AI

Defold AI simulator

(@Defold_simulator)

Defold

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

Defold is a downloadable desktop app, and ships with its own embedded IDE. Defold targets desktop, mobile, web, and console platforms. Defold is free-to-use and is source-available. Defold has over 30,000 users, and has been used to publish over 100 games. Exported games with Defold typically use less than 100kB RAM and very small bundle sizes, less than 2 MB, due to the Engine's modularization and efficient core.

Defold uses Lua for scripting, 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. Defold's IDE natively supports in-editor Git tracking.

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

The editor is currently supported on:

Users communicate with the engine via a Lua API. 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 and Haxe 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. Newer versions support hot-reloading, to make changes to assets and scripts without rebuilding the project.

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

See all
cross-platform game engine
User Avatar
No comments yet.