Imagine you’re deep in a 3D character controller in Defold — your character’s face needs subtle expressions, your ragdoll joints keep fighting the physics solver, and you can’t tell where your camera frustum actually ends in the Scene Editor. Defold 1.13.0 Beta answers every one of those pain points in a single release. If you’ve been waiting for Defold to level up its 3D workflows, native Box2D scripting depth, and Android GPU performance all at once, this is the release you’ve been watching for.
This beta, released May 28, 2026, is one of the most feature-dense drops Defold has shipped in recent memory. It combines a deep spring cleanup of legacy APIs with genuinely new engine capabilities: first-class morph target support, expanded Box2D scripting including joints, Vulkan as the default graphics API on Android, a camera preview overlay in the Scene Editor, frustum culling for Particle FX, new material and compute script modules, runtime graphics adapter inspection, a new authenticated editor /eval endpoint, and measurably smaller macOS and Android builds.
⚡ Key Takeaways
- Morph targets (blend shapes) are now first-class citizens. You can read and write morph weights at runtime in Lua using
model.get_blend_weights()andmodel.set_blend_weights(), unlocking facial animation, soft body deformation, and procedural mesh morphing in your game logic. - Box2D scripting gets joints. The long-requested ability to create and control physics joints (revolute/hinge, prismatic/slider, weld, distance/spring, wheel, and fixed/rope) programmatically via
physics.create_joint()is now expanded and stabilized. - Vulkan becomes the default GPU backend on Android. This brings Defold inline with Unity, Unreal, and Android’s own direction, improving low-level GPU performance and enabling compute shader workflows on mobile.
- The Scene Editor gains a camera preview overlay. You can now see exactly what your camera captures without running the game — a long-requested quality-of-life feature for layout precision.
- This release has breaking changes. Legacy APIs and deprecated formats have been removed. Before upgrading any production project, use source control, read the migration notes carefully, and test with the beta build in isolation.
🤩 Morph Target Support for Model Components
Image Generation Prompt: A stylized 3D character model split into two halves — the left half shows a neutral, expressionless face mesh with wireframe overlay; the right half shows the same mesh morphed into a joyful smile with glowing blue weight sliders beside it. The background is dark charcoal with subtle grid textures. Labels read “Blend Weight 0.0” and “Blend Weight 1.0.” Technical and clean illustration style, suitable for a Medium article on 3D animation. 16:9.
Alt Text:

What Are Morph Targets?
Morph targets — also known as blend shapes in Blender or Maya — are precomputed mesh deformations stored inside a glTF file. Instead of describing where every vertex is, each morph target stores a delta (an offset) for each vertex from a base pose. At runtime, the engine multiplies each target’s delta by a weight value and sums them to get the final mesh. A weight of 0.0 means no effect; 1.0 means full deformation. You can blend multiple targets simultaneously, making them ideal for facial animation, soft-body squash-and-stretch, and procedural mesh effects.
How Defold 1.13.0 Implements Morph Targets
Defold’s Model component now imports morph targets directly from glTF .gltf or .glb files. The workflow is straightforward:
- Export your model from Blender, Maya, or any DCC tool with morph targets embedded in the
.glbfile. - Reference the
.gltf/.glbas the Mesh property in your Model component — morph targets are imported automatically. - In your Lua script, use the new API to read or set weights at runtime.
lua-- Get all current morph target weights on the model
local weights = model.get_blend_weights("#model")
for i = 1, #weights do
print("Target " .. i .. " weight: " .. weights[i])
end
-- Drive a smile expression procedurally
weights[1] = 0.75 -- 'Smile' target
weights[2] = 0.25 -- 'Brow_raise' target
model.set_blend_weights("#model", weights)
-- Clear script override and return control to the animation
model.set_blend_weights("#model", nil)
The morph target weights can also be driven via glTF animation data — you use model.play_anim() just as with skeletal animations, and Defold automatically updates the morph_targets_weights material constant. The vertex shader then samples a packed morph target texture and adds the weighted position deltas to each vertex before projection.
Use Cases
- Facial animation rigs — author blend shapes for phonemes, brow raises, and eye squints directly from your DCC tool, then drive weights from dialogue audio markers.
- Soft body squash-and-stretch — classic platformer juice: on landing, set a “squash” target to
1.0over a few frames, then tween it back to0.0. - Procedural terrain deformation — pre-bake several terrain variants as targets, then blend between them based on player actions or time of day.
- LOD transition blending — morph between a detailed and simplified mesh to achieve smooth LOD transitions instead of a hard pop.
A Developer’s Story
“I was building a mobile RPG in Defold and needed emotive facial close-ups for cutscenes. Without morph targets I had to fake emotions using texture swaps and bone tricks — it looked robotic. When 1.13.0 landed with morph target runtime API, I imported my Blender blend shapes directly as a .glb, wrote a simple weight-interpolation coroutine in Lua, and had a working facial rig in an afternoon. The fact that it integrates with the existing
model.play_anim()system means my facial animations live alongside my skeletal clips in the same animation set. Clean.”
— Community developer testing the 1.13.0 beta, Defold Forum
🧲 Expanded Box2D Scripting — Including Joints

Why Box2D Joints Matter
Physics joints are the backbone of rope physics, vehicles, ragdolls, swinging platforms, crane mechanics, and any gameplay that involves constrained bodies. Defold has had basic joint creation via physics.create_joint() for some time, but the 1.13.0 Beta significantly expands the scripting surface — giving developers finer control over joint parameters, motor speeds, limits, and reaction forces at runtime.
Supported Joint Types (Box2D)
| Joint Type | Defold Constant | Box2D Name | Primary Use |
|---|---|---|---|
| Fixed / Rope | physics.JOINT_TYPE_FIXED | Rope joint | Max-distance constraint |
| Hinge / Revolute | physics.JOINT_TYPE_HINGE | Revolute joint | Doors, wheels, pendulums |
| Weld | physics.JOINT_TYPE_WELD | Weld joint | Soft rigid attachment |
| Spring / Distance | physics.JOINT_TYPE_SPRING | Distance joint | Elastic tethers |
| Slider / Prismatic | physics.JOINT_TYPE_SLIDER | Prismatic joint | Elevators, pistons |
| Wheel | physics.JOINT_TYPE_WHEEL | Wheel joint | Vehicle suspension |
Practical Example — Dynamic Hinge Motor
lua-- Create a hinge joint connecting a door to a wall
physics.create_joint(
physics.JOINT_TYPE_HINGE,
"wall#collisionobject", "door_hinge",
vmath.vector3(0, 0, 0),
"door#collisionobject", vmath.vector3(-32, 0, 0),
{ motor_speed = 0, max_motor_torque = 1000, enable_motor = true }
)
-- In update() — accelerate the door motor based on input
function update(self, dt)
if self.opening then
local props = physics.get_joint_properties("wall#collisionobject", "door_hinge")
props.motor_speed = math.min(props.motor_speed + 50 * dt, 180)
physics.set_joint_properties("wall#collisionobject", "door_hinge", props)
end
end
Use Cases
- Vehicle simulation — combine wheel joints with linear velocity for 2D top-down or side-scrolling cars with real suspension dynamics.
- Rope and chain mechanics — link multiple collision objects with
JOINT_TYPE_FIXEDin a chain to simulate a rope or chain hanging from the environment. - Trap and puzzle mechanics — a pressure plate connected to a door via a weld joint creates responsive mechanical puzzles.
- Soft body effects — weld joints with spring frequency/damping create a convincing jelly mesh when applied to a grid of collision objects.
A Developer’s Story
“For years, Defold users had to use community extensions or workarounds to get joints. I needed rope physics for a 2D grappling-hook mechanic. In Defold 1.9.x I was faking it with positional interpolation. Now with the expanded Box2D scripting in 1.13.0, I set up a proper distance joint chain in about 30 lines of Lua and it behaves exactly as expected out of the box — motor speeds, reaction torques, everything accessible. I removed 200 lines of hack code.”
— Indie developer active on the Defold Forum
📹 Camera Preview Overlay in the Scene View

For years, a common pain point for Defold developers was the inability to see the camera’s exact viewport boundary in the Scene Editor without running the game. The workaround involved placing a GUI component as a visual reference proxy — a hack that didn’t account for custom projection matrices.
Defold 1.13.0 Beta introduces a Camera Preview Overlay directly in the Scene View. When a Camera component is present in the collection, the editor now renders a visual indicator of the camera’s frustum boundary overlaid on the canvas in real time. This means you can position sprites, tilemaps, and game objects knowing exactly what will and won’t be visible to the player — without a single game run.
Why This Is a Big Deal for Iteration Speed
Level designers and developers working on anything with specific camera framing — cutscenes, puzzle layouts, UI anchoring, boss arenas — no longer need to context-switch between editor and playtest to verify positioning. This simple feature meaningfully reduces the edit-run-adjust loop that eats hours on layout-heavy projects.
💨 Frustum Culling for Particle FX

What Is Frustum Culling?
Frustum culling is an optimization technique where the engine tests whether a renderable object falls within the camera’s view frustum (the pyramid-shaped visible volume) before issuing a draw call. Objects that are entirely outside the frustum are simply not rendered that frame. Defold added frustum culling for Sprites back in version 1.3.1; Labels, Meshes, and Models followed. With 1.13.0, Particle FX joins the culled component list.
The Impact on Mobile and Particle-Heavy Games
Particle systems are CPU and GPU expensive — each active emitter evaluates simulation, fills vertex buffers, and issues draw calls every frame. In games with dense particle environments (exploration maps, battle VFX, ambient weather), many emitters are typically off-screen. Without culling, those emitters still consume resources. With frustum culling enabled for Particle FX, out-of-screen emitters are skipped automatically — reducing GPU bandwidth consumption, shrinking vertex buffer fill, and lowering draw call count without any code changes on the developer’s part.
On mobile devices where GPU bandwidth is a premium resource, this optimization is particularly meaningful for games targeting mid-range Android hardware.
📱 Vulkan as the Default Graphics API on Android

Why Vulkan?
Vulkan is the primary low-level graphics API on Android, replacing OpenGL ES. Available from Android 7 (API level 24), with all 64-bit Android devices on Android 10+ supporting Vulkan 1.1. Unity and Unreal Engine both default to Vulkan on compatible Android devices. Vulkan offers lower CPU overhead, more predictable performance, better multi-threading of command buffers, and — critically for Defold — enables compute shader support on mobile.
What Changes for Defold Developers?
Making Vulkan the default backend (rather than opt-in via extension or app manifest) is a significant architectural step. Previously, developers needed to add the extension-vulkan dependency and configure the app manifest manually. With 1.13.0 Beta, Vulkan is used by default on supported devices, with a fallback to OpenGL ES for devices that don’t support it. This means:
- No additional configuration required for Vulkan on new projects targeting Android.
- Smaller builds — the deprecated extension approach is no longer needed; the backend is now a core engine component.
- Compute shaders are now accessible on Android by default, unlocking GPU-side physics, image processing, and particle simulation pipelines via Defold’s compute program system.
🎨 New Material and Compute Script Modules

Two new Lua script modules have been added to the engine in 1.13.0: material and compute. These modules let you get and set shader constants, attributes, and samplers directly from regular game object scripts — without needing to route everything through go.set() / go.get() calls on individual components.
The compute Module
The compute script module exposes the ability to dispatch compute shader programs from Lua. Defold’s compute shader system (currently in technical preview) lets you run general-purpose GPU programs for tasks like image filtering, terrain generation, particle simulation, and frustum culling.
lua-- Dispatch a compute program from a script
-- (previously only possible from render scripts)
compute.dispatch("my_compute_program", 128, 128, 1)
Compute shaders run on Vulkan, Metal (via MoltenVK), OpenGL 4.3+, and OpenGL ES 3.1+. With Vulkan now being the default on Android, compute workloads are now reliably accessible on modern mobile devices.
The material Module
The new material module provides a cleaner API surface for reading and writing material constants from scripts — particularly useful for shared materials affecting multiple components simultaneously, where per-component go.set() calls would break batching.
⚙️ Runtime Graphics Adapter and Feature Inspection

Defold 1.13.0 Beta introduces the ability to inspect the active graphics adapter and its supported features at runtime. This is a critical capability for games targeting a wide range of devices: you can now query at launch time whether the running device supports compute shaders, specific texture formats, float render targets, or other optional graphics features — and branch your rendering logic accordingly.
Why This Matters
Without runtime feature inspection, developers had to either assume a minimum feature set (missing out on features on capable devices) or bundle multiple code paths and rely on error handling. With formal inspection APIs, you can make informed decisions:
lua-- Pseudo-example of runtime graphics feature gating in 1.13.0
local adapter_info = graphics.get_adapter_info()
if adapter_info.supports_compute then
-- Use GPU-accelerated particle simulation
use_gpu_particles()
else
-- Fall back to CPU-driven Lua particle system
use_cpu_particles()
end
This enables genuinely adaptive rendering — games that are beautiful on flagship devices and still performant on budget hardware, all from a single build.
🤖 New Authenticated Editor /eval Endpoint

The Defold editor exposes a local HTTP server while a project is open. In 1.13.0 Beta, this is extended with a new authenticated /eval endpoint specifically designed for automation workflows. This allows external tools — CI/CD pipelines, external code editors, custom build scripts, or AI-assisted tooling — to send Lua evaluation commands to the running Defold editor and receive results.
Use Cases for the /eval Endpoint
- Hot-reload from external editors — VS Code, Neovim, or any editor with HTTP client support can trigger hot-reload by posting a Lua snippet to the running Defold editor, eliminating the need to switch windows.
- CI pipeline integration — automated test harnesses can drive in-editor script evaluation as part of a build validation step.
- Macro and batch operations — complex repetitive tasks (like renaming a hundred assets, or batch-applying material settings) can be scripted externally and executed via the eval endpoint.
- Custom tooling — game jams or studio pipelines can build lightweight tools that talk to Defold over localhost REST without needing native plugin development.
The “authenticated” qualifier means the endpoint now requires an authentication token to accept requests, preventing other local processes from accidentally or maliciously interacting with the editor.
📦 Smaller macOS and Android Engine Builds

The 1.13.0 spring cleanup has a direct impact on build sizes on macOS and Android. By removing deprecated APIs, legacy data formats, and outdated compatibility shims, the core engine binary is leaner. On Android specifically, the consolidation of Vulkan as the native backend (removing the need for the old extension-based approach) contributes to smaller APK/AAB sizes. Defold has always been known for exceptionally compact builds — one of its strongest differentiators — and 1.13.0 continues that tradition.
🧹 Breaking Changes and Migration Guide

The 1.13.0 Beta removes a substantial set of deprecated APIs and legacy data formats that have been marked for removal over multiple prior releases. This is the most significant cleanup Defold has done in recent history, and it is the primary source of breaking changes in this version.
Pre-Migration Checklist
Before upgrading any production or active project to 1.13.0 Beta:
- Commit everything to source control. This is non-negotiable for any beta upgrade with breaking changes.
- Run the API audit script. The Defold team has released a GitHub Gist that scans your project (or a GitHub repository) for APIs removed in 1.13.0. Run it before opening the project in the new editor.
- Read the migration notes in the forum thread. The official Defold 1.13.0 Beta forum post enumerates each removed symbol and its replacement or removal rationale.
- Test in isolation. Open your project in a fresh copy of the beta editor alongside your current stable version. Do not overwrite your stable environment.
- Check native extensions. If you use native extensions or community libraries, their Lua APIs may also reference deprecated symbols. Check their changelogs and GitHub issues.
Common Legacy API Areas to Audit
- Old physics API calls that have been superseded by Box2D’s expanded scripting surface
- Sprite and render script constants or functions that were deprecated in earlier Defold versions
- Any
.renderor.materialfile using legacy format fields removed in this cleanup
Conclusion Defold 1.13.0 Beta
Defold 1.13.0 Beta is not a minor patch — it is a directional statement about where the engine is heading: first-class 3D workflows, modern mobile GPU defaults, deeper physics scripting, and a more automatable editor. The morph target runtime API finally brings character animation parity with major engines for Defold’s 3D tier. Box2D joints scripting closes a gap that developers have requested since 2017. Vulkan as the Android default is the right call architecturally and unlocks compute shaders on mobile. The camera preview overlay, frustum culling for Particle FX, and smaller builds are the kind of quality-of-life and performance refinements that compound over time.
The breaking changes are real — but the audit script and migration notes make the upgrade path tractable. Test in a branch, read the notes, and give the team feedback. That is what a beta is for.
Defold 1.13.0 Beta is available now via the Defold Forum release thread.
❓ Frequently Asked Questions (FAQ)
Is Defold 1.13.0 safe to use for my production project right now?
No — as a beta release, 1.13.0 carries a risk of workflow-disrupting issues. The Defold team explicitly recommends using source control and caution before applying it to any active production project. Test it in a branch or isolated project first.
Do I need to update my custom render scripts to benefit from Vulkan on Android?
Not necessarily. The Defold engine handles the Vulkan backend selection transparently for most standard rendering workflows. However, if you use compute shaders or are targeting features specific to the Vulkan adapter, you’ll want to review the updated compute API and the runtime feature inspection capabilities.
How do I use morph targets in a project that also uses skeletal animations?
Morph targets and skeletal animations coexist within the same Model component and animation pipeline. You play morph weight animations with model.play_anim() exactly as with bone animations — they are stored as separate animation clips in your glTF file. You can override weights at runtime at any time with model.set_blend_weights().
Will my existing Box2D joint code break in 1.13.0?
The physics.create_joint() API itself is not removed, but the expanded scripting surface and any internal Box2D version changes may affect behavior, particularly around how bodies are activated and how kinematic-dynamic interactions work. Test your joint-heavy scenes specifically in the beta.
Where can I find and report bugs in the 1.13.0 Beta?
Report issues in the official 1.13.0 Beta forum thread or via the editor’s Help → Report Issue menu.
What happened to the old Vulkan extension?
The extension-vulkan repository is no longer maintained and is no longer needed. Vulkan support is now built into the core engine as a native graphics adapter on supported platforms. You should remove the extension dependency from your project if you had previously added it.
What APIs were removed in the legacy cleanup?
The Defold team published a community audit script on GitHub Gist that scans your project for removed APIs. Run it before upgrading to get a project-specific removal report.
When will 1.13.0 become a stable release?
No exact date has been announced. Defold typically runs beta periods for approximately two weeks before promoting to stable, though this varies based on feedback volume and critical bug discovery. Monitor the forum thread and the official Defold release notes page for updates.
All code examples are illustrative and based on the official Defold API documentation for 1.13.0 Beta. Always test in your specific project context.





