Defold 1.2.109 has been released

Defold Stable 1.2.109

This sprint we’ve been finishing the Particles in GUI task, and also added some smaller enhancements.

Particles in GUI

This release adds the feature of adding particle effects to your GUI scene.
Just as other resources in the gui, you add a .particlefx file to the scene,
and then you can reference it by adding particle fx nodes to your scene.

You can also add nodes dynamically at runtime.

Previewer in Editor 2

Also, please try playing the effect directly in the Editor 2 by pressing CMD+P
In the gui, you can change the color propery while the effect is playing.

The Lua API

  • gui.new_particlefx_node(pos, particlefx)
  • gui.play_particlefx(node, [emitter_state_callback])
  • gui.stop_particlefx(node)
  • gui.set_particlefx(node, particlefx)
  • gui.get_particlefx(node)

Engine

  • DEF-2106 - Added: Particles in GUI
  • DEF-2813 - Fixed: Fixed crash when error logging a bad string (in gui.delete_texture)
  • DEF-2437 - Fixed: The render.get_render_target_width() and render.get_render_target_height() now support BUFFER_TYPE_COLOR_BIT/BUFFER_TYPE_DEPTH_BIT/BUFFER_TYPE_STENCIL_BIT
  • DEF-2807 - Fixed: Added sound name output when it fails to decode
  • DEF-2809 - Fixed: Embedded camera component not working in Editor 1
  • DEF-2811 - Fixed: Target app: Failing to load project file restarts the target app
  • DEF-2814 - Fixed: Native Extensions now build debug builds for Win32 too
13 Likes

Cool exellent feature :wink:

thx a lot

1 Like