Defold 1.2.94 has been released

Defold 1.2.94

With this release we have added initial support for skeleton animations in 3D models. For more detailed notes on changes and current limitations, see the list below the changelist.

We have also added support for cursor and playback control on model animations, the same feature added in previous release for Spine models.

The flipbook animation for particles now supports a new mode to allow for different image sizes within the same flipbook without stretching the particles. Along with this addition we have fixed automatic resizing of sprites that uses flipbook animations.

We have fixed a performance issue with loading and mapping dependences/libraries in the editor resulting in significantly increased performance when loading.


  • DEF-2308 - Added: Automatic particle resizing from flipbook animation
  • DEF-2161 - Added: Skeleton animations for 3D models
  • DEF-2295 - Added: Cursor and playback control for model animations
  • DEF-2304 - Added: Max GUI scene count per collection is now configurable in game.project
  • DEF-2202 - Fixed: Up-axis for Collada models are now taken into account
  • DEF-2202 - Fixed: Correct UV/texture coordinates for Collada models
  • DEF-2303 - Fixed: Label with dynamically set text remained after go.delete
  • DEF-2308 - Fixed: Automatic sprite resizing from flipbook animation
  • DEF-1972 - Fixed: Disable animating node during complete callback didn’t update property fragments
  • DEF-2274 - Fixed: Spine nodes with animated alpha now works as expected
  • DEF-2145 - Fixed: Libraries/dependencies loading performance

Notes regarding the new 3D skeleton animation support:

  • Up-axis for Collada files/models are now taken into account. This means that some models that has been authored in Blender (or other software where the up axis is not Y) will appear rotated.

  • UV/texture coordinates were previously upside down for Collada files/models, but this has now been fixed. This means that if you have current workarounds/fixes for this in your shaders, they need to be “undone” for correct texture mapping.

  • Relevant to the the UV-fix, we have made some changes to how our internal UV coords are generated (Atlas and TileSources). In the most common cases this should not mean any changes to the end user of Defold, but for some edge cases and specific advanced usage of shaders this is good to keep in mind.

  • Only baked animations are supported. (Animations where each keyframe has matrices for each animated bone, and not position, rotation and scale as separate keys.)

  • Animations are linearly interpolated. For more advanced curve interpolation the animations needs to be prebaked from the exporter.

  • Animation clips in collada are not supported. For multiple animations per model use the new .animationset file.

  • For each bone in a skeleton we create gameobjects so that you can attach/parent other gameobjects to the bones in runtime. (This works just as Spine bones currently.)

  • There is a limitation in the current implementation that does not allow for correct skewing in model animations. We are aware of this and have a plan for fixing this in the future.

  • Positions, Normals and UV coordinates are exposed to the materials/shaders.

  • There is a simple 3D material in /builtins/materials/model.material with a model predicate tag. The default render script has not changed so models will still not render by default, instead refer to the 3D example in our online documentation.

  • There is a new model.* Lua namespace, similar to the spine.* namespace, to play/cancel model animations and set/reset constants at runtime.


Awesome about 3D model animation!!

1 Like

Very nice. Happy to see 3d animations at last.


There is a rendering error in the editor scene view affecting tilemap components, as reported by @Davej in this post: Weird TileMap rendering problem in editor after 1.2.94 update (SOLVED)

We are working on a fix and hope to release it during the day. Our biggest apologies for this and thanks for you patience!


Best release! Awesome guys.


We just released a new stable, 1.2.95, that includes the hot fix for tilemap rendering in the editor.

1 Like

By any chance did you change any size import settings(by factor of 100, for example)? My objects imported from maya with 1m width used to be 1 unit wide in defold, now they are 0.01 units wide.

We now take into account both the unit-setting and if there are any transforms on the mesh node itself in the scene graph of the Collada file. If you want me to take a closer look, send me the Collada file as a private message. :slight_smile:

1 Like

@nikitaosyak @sven this bug with import size (is it bug?) reproduced in fade in-out example

Yes I would guess so; a quick glance at the Collada file in that repo indicate it is scaled, see line 91 in the quad.dae.

1 Like

this could be a problem with import settings from your 3d editor. My 3d guy was surprised to know about scale issues, because no particular scale setting was set to 0.01 (according to him at least)

1 Like

@nikitaosyak @sven As I understand this parameter is not considered before version 1.2.94 ?

I’m sure that it was not.